Re: [Tracker] tracker-search and tracker-search-tool options in 0.7.24
- From: Jürg Billeter <j bitron ch>
- To: Ken Schmedding <schmedk gmail com>
- Cc: tracker-list gnome org
- Subject: Re: [Tracker] tracker-search and tracker-search-tool options in 0.7.24
- Date: Thu, 11 Mar 2010 14:55:19 +0100
Hi Ken,
On Wed, 2010-03-10 at 16:06 -0500, Ken Schmedding wrote:
I was attempting to do some searches with an OR operator and could not
get it to work. By my read of the of the documentation a command such
as tracker-search -r foo bar I expected to find all hits with either
search term. I tried many variations and the results confused me. Here
is an example of my data set and the results:
foo (should be 11 incidences)
bar (should be 46 incidences)
foo AND bar (should be 3 incidences)
foo OR bar (should be 54 incidences)
tracker-search foo bar yields 3 hits (correct for an AND)
tracker-search -r foo bar yields 3 hits
tracker-search -r bar || foo yields 46 hits
tracker-search -r foo || bar yields 11 hits
I tried many combinations including the --or-operator, brackets and
such and simply could not get an OR operation to work. Same goes for
the GUI tracker-search-tool. Am I missing something?
There was a bug that caused the OR operator to be ignored in the query.
This is now fixed in master. The command
tracker-search -r foo bar
should now work as expected.
JÃrg
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]