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 613252 - Application-driven indexing and metadata storage
Application-driven indexing and metadata storage
Status: RESOLVED FIXED
Product: tracker
Classification: Core
Component: General
unspecified
Other Linux
: Normal normal
: ---
Assigned To: tracker-indexer
Jamie McCracken
Depends on:
Blocks: 613258
 
 
Reported: 2010-03-18 16:51 UTC by Bastien Nocera
Modified: 2010-08-26 22:23 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bastien Nocera 2010-03-18 16:51:19 UTC
Instead of having a crawler run through all of your data possessions, applications should be able to tell the indexer to index particular locations, so that metadata is stored in the store.

According to Martyn, this would mean adding a D-Bus API to tracker-miner-fs.
Comment 1 Ivan Frade 2010-03-22 09:29:19 UTC
It is possible to change the monitored locations updating the tracker-miner-fs.cfg file. Probably the format is not very script-friendly, and we can change that.

I don't like the dbus API solution because those locations are stable, applications don't add and remove them in runtime, and are usually known at installation time.
Comment 2 Martyn Russell 2010-03-29 09:33:59 UTC
Ivan, Bastien makes a fair point, if application A doesn't have data that can be or should monitored (or perhaps they just know every time it updates), then it makes sense to have an API for applications to tell Tracker to reindex content.

This is the not the first time this has been requested, I have noted 2 or 3 requests along these lines in the past month or so.
Comment 3 Martyn Russell 2010-05-17 13:32:20 UTC
Moving "Indexer" component bugs to "General" since "Indexer" refers to the old 0.6 architecture
Comment 4 Martyn Russell 2010-08-26 22:23:58 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.

The API for this is: tracker_miner_manager_index_file(), I just realised the docs are broken so it isn't included in the references online here:

  http://library.gnome.org/devel/libtracker-miner/unstable/libtracker-miner-tracker-miner-manager.html

Will try to fix this for next week.