Re: [Tracker] Tracker search does not give results when no content is indexed (only file names)



Thank you for the response! Yes, the problem in the CLI was that I
actually searched for "a" (I dismissed the warning message, as I
thought it was just a warning and did not block the output for the
query). The practical problem stands though - searching with GNOME (in
Overview) renders no results. I just found out that this does not apply
for the home folder. That is apparently not a tracker problem though,
I'll continue digging.

On Wed, 2017-04-19 at 15:34 -0300, Carlos Garnacho wrote:
Hi!,

On Wed, Apr 19, 2017 at 7:10 AM, Petko Ditchev <pditchev gmail com>
wrote:
Hello everyone,
I'm trying to use tracker to only locate files (in GNOME), I don't
really search by content for anything. So I set the "Index content
of
files found" option to false. I'm writing here instead of filing a
bug,
since I don't know if that's expected behaviour or there's
something
wrong in my setup.
 Some details : OS - Manjaro (stable) , DE - GNOME, tracker -
1.10.5
"tracker search a" does not give any results; "tracker search -f"
lists
the files "indexed" ; "tracker status" says there are a few
thousand
files indexed, and no active indexing (as expected) . I did a
"tracker
reset -r" and reindexing, but the result is the same. Searching by
content works btw.

If "tracker search a" is not just an example, yes, that's expected.
There's a couple of things affecting full-text search:

1) There's a minimum length for the search term, set to 3 characters
2) There is a blacklist of far too common words (so called "stop
words") that are ignored for indexing and search purposes, basically
because they make database size explode and searching for those would
match virtually anything. I mean words like a/the/one/... you can see
all stop words at
https://git.gnome.org/browse/tracker/tree/src/libtracker-common/stop-
words

If that is not the case and search fails even with more long/concrete
search terms that you know should match, please do file a bug.

Cheers,
  Carlos


Any help would be greatly appreciated,
Petko
_______________________________________________
tracker-list mailing list
tracker-list gnome org
https://mail.gnome.org/mailman/listinfo/tracker-list


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