Re: [Tracker] text search is implicitly always OR



Eyal Oren wrote:
On 07/26/06/07/06 16:38 +0200, Marcus Fritzsch wrote:
Hi,

when searching with tracker-search or nautilus (which is just a
killer-feature, by the way), it is not possible to narrow the search
by using multiple 'words' --- all words are always ORed together.

Is this an issue for someone? Anybody discussed this earlier? (did not
found it by searching the list's archive)
yes. after you wrote me yesterday (below) that my terms are ORed together because of the arguments of tracker-search, I tried putting them inside quotes half an hour ago, but that actually also does not seem to help (as you point out just now).


According to this page :
http://dev.mysql.com/doc/refman/5.0/en/fulltext-boolean.html

you can do it by placing "+" before each word that must be there

tracker-search "+happy +sad" would return only those that contain both

I will make some changes so that it adds a "+" by default
--
Mr Jamie McCracken
http://jamiemcc.livejournal.com/




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