From: Vyacheslav S. <vya...@gm...> - 2009-12-12 14:52:33
|
probably <and><term></term><term>.....</and> same with <or> and mean <or> as default if absent 2009/12/12 Peavey <sci...@gm...>: > > > 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. > > > ------------------------------------------------------------------------------ > Return on Information: > Google Enterprise Search pays you back > Get the facts. > http://p.sf.net/sfu/google-dev2dev > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open > |