beagle r3447 - trunk/beagle/beagled



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

Modified:
   trunk/beagle/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]