beagle r3448 - branches/beagle-0.2.16/beagled



Author: joeshaw
Date: 2007-02-13 20:39:08 +0000 (Tue, 13 Feb 2007)
New Revision: 3448
ViewCVS link: http://svn.gnome.org/viewcvs/beagle?rev=3448&view=rev

Modified:
   branches/beagle-0.2.16/beagled/LuceneCommon.cs
Log:
Handle the situation where you do a search for something like "no dice"
(no quotes) and you don't get any results back.  Because "no" is a stop
word, we were expanding queries to this:

(Text:dice OR PropertyText:dice OR PropertyKeyword:dice) AND
(PropertyKeyword:no)

Since stop words get filtered out, and the user may be expecting to
match "no" from the Text and "dice" from a keyword, we can drop the
second clause from the query entirely.






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