Re: [Tracker] FTS for numbers
- From: Martyn Russell <martyn lanedo com>
- To: Ralph Böhme <rb netafp com>
- Cc: "tracker-list gnome org" <tracker-list gnome org>
- Subject: Re: [Tracker] FTS for numbers
- Date: Mon, 05 Aug 2013 09:11:21 +0100
On 02/08/13 16:56, Ralph Böhme wrote:
Hi
Am 02.08.2013 um 17:09 schrieb Ralph Böhme <rb 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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]