After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 525403 - [Refactor] Isolating indexer
[Refactor] Isolating indexer
Status: RESOLVED FIXED
Product: tracker
Classification: Core
Component: General
unspecified
Other All
: Normal enhancement
: ---
Assigned To: Jamie McCracken
Jamie McCracken
Depends on:
Blocks:
 
 
Reported: 2008-03-31 18:15 UTC by Ivan Frade
Modified: 2010-05-17 13:30 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Hide the index struct. Move levenhstein code to the indexer. (17.06 KB, patch)
2008-03-31 18:24 UTC, Ivan Frade
committed Details | Review

Description Ivan Frade 2008-03-31 18:15:57 UTC
Here is the first step to refactor the indexing code of Tracker. 

This patch isolates the indexer and improve the modularity of the code:

1) Hiding the index struct in tracker-indexer.c. 
2) Moving the "get_suggestion" code to the indexer. 
3) Moving WordDetails struct to tracker-indexer.

After that:

1) QDBM functions are used only in tracker-indexer.c
2) No dependency between tracker-utils and tracker-indexer
Comment 1 Ivan Frade 2008-03-31 18:24:37 UTC
Created attachment 108358 [details] [review]
Hide the index struct. Move levenhstein code to the indexer.
Comment 2 Ivan Frade 2008-04-08 19:48:48 UTC
Committed
Comment 3 Martyn Russell 2010-05-17 13:30:33 UTC
Moving "Indexer" component bugs to "General" since "Indexer" refers to the old 0.6 architecture