Re: Conditional Field Search without affecting score.

2013-03-26 Thread Chris Hostetter
: document accordingly. This works good in most cases. but we had a case where : we ran into issue. : : DocA // Common title and is same for all county so no additional titles. : Fighter : : DocB : The Ultimate Street Fighter // Default : Ultimate Fighter // For UK : : : now querying f

Re: Conditional Field Search without affecting score.

2013-02-18 Thread adityab
thanks Eric, is this what you are pointing me to ? http://.../solr/select?q=if(exist(title.3),(title.3:"xyz"),(title.0:"xyz")) I believe i should be able to use boost along with proximity too. -- View this message in context: http://lucene.472066.n3.nabble.com/Conditional-Field-Search-with

Re: Conditional Field Search without affecting score.

2013-02-17 Thread Erick Erickson
Have you seen the new function queries in 4.x? In particular 'if' and 'exists' See: http://wiki.apache.org/solr/FunctionQuery#if Best Erick On Fri, Feb 15, 2013 at 12:10 PM, adityab wrote: > Hi, > Trying to find a better approach for searching keywords. > We have indexed about 100K documen