Your requirement is still somewhat ambiguous - you use "fully" and "some" in the same sentence. Which is it?

If you simply want documents that contain every one of the query terms, using the explicit AND operator ("+" or "AND") or set the implicit operator to "AND".

But... we are still in the dark as to your precise requirement.

-- Jack Krupansky

-----Original Message----- From: asuka
Sent: Tuesday, September 24, 2013 11:08 AM
To: solr-user@lucene.apache.org
Subject: Re: Get only those documents that are fully satisfied.

Hi Andre,
  I don't want to get documents that fit my whole query, I want those
documents that are fully satisfied  with some terms of the query.

In other words, I'm interested in an exact match from the point of view of
the document, not from the point of view of the query.

Asuka



Andre Bois-Crettez wrote
(Your schema and query only appear on the nabble.com forum, it is mostly
empty for me on the mailing list)

What you want is probable to change OR to AND :

params.set("q.op", "AND");





--
View this message in context: http://lucene.472066.n3.nabble.com/Get-only-those-documents-that-are-fully-satisfied-tp4091531p4091775.html Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to