lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tobias Hill <Tobias.H...@citerus.se>
Subject Looking for "Exact match but no other terms"... how to express it?
Date Tue, 30 Oct 2007 15:58:09 GMT
I want to match on the exact phrase "foo bar dot" on a
specific field on my set of documents.

I only want results where that field has exactly "foo bar dot"
and no more terms. I.e. A document with "foo bar dot alu"
should not match.

A phrase query with slop 0 seems resonable but how do I
express "but nothing more than these terms".

Thankful for your feedback on this!
Tobias

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message