Re: [Tracker] tracker-search-tool does not print any result



Le mercredi 10 fÃvrier 2010 Ã 23:52 -0500, Jamie McCracken a Ãcrit :
On Tue, 2010-02-09 at 23:44 +0100, Laurent Aguerreche wrote:
Hi!

Tracker-search-tool does not print any result since some weeks (I use
the Git master branch). According to the git logs, some work happened on
URI/URL.

For TST, I turned the line #84 in tracker-query.gs into:
query = "SELECT ?s nie:url(?s) WHERE { ?s fts:match \"%s\". ?s a %s }
limit 100 ".printf (SearchTerms, cat)

I have fixed this in master - thanks


So I am again able to get results. I see however duplicated items for
files I use to generate often (indeed some LaTeX index files), but
perhaps my modification of the query is wrong.


It seems to work for me with your above change - can you be a bit more
specific with your problem? (It sounds like a problem with the miner
rather than TST but I need more info to be sure - also does
tracker-search have the same problem?)

You're right. It seems to be a problem with the miner.

In the attachment, you will find LaTeX files to compile. If you have
LaTeX installed, just run "make" to make the "test-tracker.pdf" file.
The Makefile will run "pdflatex" twice.

After I ran "make" several times, "test-tracker.pdf" is now found 98
times by tracker-search :

$ tracker-search -f test-tracker.pdf
Files: 98
  urn:uuid:0759e9f1-7c74-d4ac-677f-2623f72e5baa (URI:
file:///local/laguerre/Desktop/test-tracker/test-tracker.pdf)
  urn:uuid:0bab5c9d-71dc-9cf9-2094-79de21d37686 (URI:
file:///local/laguerre/Desktop/test-tracker/test-tracker.pdf)
  urn:uuid:0d7452ed-a975-8765-4b81-a91d3a5e4ab1 (URI:
file:///local/laguerre/Desktop/test-tracker/test-tracker.pdf)
...


I use commit 0c7283b308c83b4fceac37d9c56715a5bf1882c7
(date: Fri Feb 12 21:29:14 2010 +0100)


Laurent.

jamie


Attachment: test-tracker.tar.gz
Description: application/compressed-tar

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=



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