[GRLUG] gnome tracker issue

Adam Tauno Williams awilliam at whitemice.org
Wed Oct 3 13:51:00 EDT 2012


On Wed, 2012-10-03 at 13:29 -0400, Eric Beversluis wrote:
> I'm trying to see how to use tracker. The tracker-search help says,
> "Applies an AND operator to all terms separated by a space (see
> --or-operator)."
> Yet when I run 'tracker-search php return button' or 'tracker-search
> "php return button" (I'm trying to find the document that has the phrase
> 'php return button' in it, "build-class.php"), tracker returns all kinds
> of documents, including many from /var/www/html, some of which don't
> seem to have the work 'return' in them anywhere, but not the particular
> document I'm looking for.
> So two questions:
> 1. Despite what the help says, is tracker-search doing an 'or' search
> rather than an 'and' search?
> 2. Why is it not finding the "build-class.php" document, which has the
> desired phrase in it?

Probably because "return" is a stop word;  it is at least ignored in
indexing.  This is typical of search engines, they will ignore certain
common words.

Does tracker-search "php button" return the expected result?



More information about the grlug mailing list