On 02/08/13 16:56, Ralph Böhme wrote:
Hi

Am 02.08.2013 um 17:09 schrieb Ralph Böhme <r...@netafp.com>:

Hi!

btw, thanks for 0.16.2, I guess I'm first in packaging it [1]. :)

While poking around, I noticed that full-text searches for numbers in a 
documents (tested with a plaintext file and a PDF) don't yield any results, e.g.

root@solaris:~# tracker-search Boppard
Ergebnisse:
  file:///Volumes/test/test.pdf
  ...Obere Rheingasse 3, 56154 Boppard          Tel.: 06742/ 800121, Fax...

root@solaris:~# tracker-search 56154
Ergebnisse:

root@solaris:~# tracker-sparql -q "SELECT DISTINCT ?url WHERE { ?obj nie:url ?url 
FILTER(regex(?url, '^file:///Volumes/test/')) . ?obj fts:match '12345*'}"
Ergebnisse:
  Nichts

root@solaris:~#

The content seems to be there as can be seen in the "Boppard" query result or 
with tracker-info -c, but searches don't work.  Am I missing anything obvious? Any 
pointers? Thanks!

ugh!, never mind, guess I found the reason:

# gsettings get org.freedesktop.Tracker.FTS ignore-numbers
true
#

:)

There are a lot of numbers found normally, it is disabled by default because we really don't know if people want the extra data for numbers to be indexed. It's less common to search for numbers too.

--
Regards,
Martyn

Founder & Director @ Lanedo GmbH.
_______________________________________________
tracker-list mailing list
tracker-list@gnome.org
https://mail.gnome.org/mailman/listinfo/tracker-list

Reply via email to