From: Peavey <sci...@gm...> - 2009-12-12 14:37:44
|
Vyacheslav Sedov wrote: > > this is unclear - users often think even that free request like "get > customers in US *and* Russia" *must* return union of customers who > live in US and customers who live in Russia - but not customers who > live in both > > so even if so default behavior as OR is preffered (to my mind) > > so we can use OR and AND elements as wrappers for <term> but default > should be OR - by the way - it is default behavior for search > engines so users expect to se "partial results" > > I agree with you, in all other cases the default behavior expected is this and all search engines use OR as default operator. But in this case, they explicitly requested me AND as default. Probably I'll find a way to do this by code ( ex. parsing the string and replacing all whitespaces with "AND" ) , but I was wondering if it's possibile to do this in a more "elegant" way,modifying some configuration file or using a xquery function. -- View this message in context: http://old.nabble.com/A-full-text-query-with-Lucene-tp26730909p26758051.html Sent from the exist-open mailing list archive at Nabble.com. |