Re: Search field affecting relevance

2012-10-24 Thread Maxim Kuleshov
Sorry guys, I initially simplified the criteria. Actually, I use EDisMaxQueryParser with about dozen of fields configured with different boost values. If any of them is matched - it's ok to return such document. But I also have one (at the moment) field - that I would like to use only to "boost" r

Re: Search field affecting relevance

2012-10-24 Thread Otis Gospodnetic
Hi, This is core lucene/solr functionality. +field1:foo field2:foo makes a match in field1 required. Otis -- Performance Monitoring - http://sematext.com/spm On Oct 24, 2012 4:39 AM, "Maxim Kuleshov" wrote: > Hi, > > For example, we have documents with two fields - field1 and field2. > Both fie

Re: Search field affecting relevance

2012-10-24 Thread Jack Krupansky
ent: Wednesday, October 24, 2012 4:38 AM To: solr-user@lucene.apache.org Subject: Search field affecting relevance Hi, For example, we have documents with two fields - field1 and field2. Both fields are indexed and both are used in search. Is there way to return only documents that are matched by f

Search field affecting relevance

2012-10-24 Thread Maxim Kuleshov
Hi, For example, we have documents with two fields - field1 and field2. Both fields are indexed and both are used in search. Is there way to return only documents that are matched by field1, but taking in account that if field2 is matched - relevance should be higher? In other words, if document