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
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
First, documents are not matched "by field", but "by field value".
So, make sure q.op=OR, mm=0%, and query:
+field1:x field2:x^20
This means that "x" MUST be present in field1 of each document, but IF "x"
happens to be present in field2 of the same document the score will be
boosted (by howev