Re: [Tracker] Sqlite now default in cvs (mysql backend wont compile yet!)



Really, really fast!  Compiled and indexed with no problems. One thing
I have noticed, is that GetServiceType() always returns "Other Files"
now.
Test app "getservice.py" attached:

# file P1010031.JPG
P1010031.JPG: JPEG image data, EXIF standard 2.1
# ./getservice.py P1010031.JPG
/home/eduffy/Desktop/P1010031.JPG : Other Files

On 9/25/06, Jamie McCracken <jamiemcc blueyonder co uk> wrote:
I have ben spending the last few weeks adding in the sqlite/qdbm
complete with indexer and parser.

This is now basically functional in cvs.

Stuff that wont work is :

1) RDF query
2) only tracker-search (no location or mime yet in nautilus)
3) exact phrase search

I have not updated the mysql backend yet so it wont compile at the
moment so you are *forced* to try out the sqlite one :)

(I figure unless theres a strong reason to have the inferior mysql
version we can phase it out?)

New features with new indexer are:

1) differential indexing for faster updates
2) stemming so searches for "penguin" will match against "penguins"
3) Bzip compression of full text so it has much smaller footprint in the
sqlite db
4) high performance qdbm file based hash table for search thats fully
scalabale up to many GBs on indexes without significant speed loss.


to compile you will need bzip dev stuff, qdbm dev stufff as well as sqlite3


Databases are now in Home/.Tracker/databases.

"data" file can be viewed with sqlite3 command line program

"Files" file can be viewed with dpmgr command line program (to optimise
space of this file the following should be entered after indexing :

dpmgr optimize Files

(we will do this automatically in future after every 10,000 updates or so)

Please test and report any bugs.


--
Mr Jamie McCracken
http://jamiemcc.livejournal.com/

_______________________________________________
tracker-list mailing list
tracker-list gnome org
http://mail.gnome.org/mailman/listinfo/tracker-list

Attachment: getservice.py
Description: Text Data



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]