30 okt 2007 kl. 16.58 skrev Tobias Hill:


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".

There is no such feature in Lucene, however you could add prefix and suffix tokens to your index and include these in your search, for instance "^ foo bar dot alu $". This will however mess up your SpanFirst-queries.


--
karl

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to