summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorNishit Patel <nishitlimbani130@gmail.com>2020-11-28 19:48:14 +0000
committerNishit Patel <nishitlimbani130@gmail.com>2020-11-28 19:48:14 +0000
commit2e1341f81758c9c3ec2bc530751913695c88f35f (patch)
treebf04fa6011777fe9e789e7d3ee755240faebf27c /README.md
parentf235199ceb3dc5afcd07270760347faede0a81c0 (diff)
downloadtracker-2e1341f81758c9c3ec2bc530751913695c88f35f.tar.gz
updated the commands for indexing and querying in tracker3
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index d97fb5cba..2b59441fb 100644
--- a/README.md
+++ b/README.md
@@ -144,11 +144,11 @@ where you have interesting data). We need to explicitly tell the script to wait
for the miners to finish, or it will exit too soon. (This is a workaround for
[issue #122](https://gitlab.gnome.org/GNOME/tracker/issues/122).)
- ./run-uninstalled --wait-for-miner=Files --wait-for-miner=Extract -- tracker3 index --file ~/Music
+ ./run-uninstalled --wait-for-miner=Files --wait-for-miner=Extract -- tracker3 index --add ~/Music
Let's see what files were found!
- ./run-uninstalled -- tracker3 sparql -q 'SELECT ?url { ?u nie:url ?url } }'
+ ./run-uninstalled -- tracker3 sparql --dbus-service=org.freedesktop.Tracker3.Miner.Files -q 'SELECT ?url { ?u nie:url ?url }'
Or, you can try a full-text search ...