lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Malmsten-2 <marm...@libris.kb.se>
Subject SAME-opattor (possible newbie question)
Date Sun, 04 Sep 2005 22:24:26 GMT
Is there a way to tell Lucene to restrict proximity searches to just one field? This would
mimic the BRS/Search SAME-operator, which I use very often.

For example, given this data:

author: a b c
author: d e f

a search for "a SAME c" would match the first row, but "a SAME d" would match nothing, which
is what I want.

Is this possible?

Cheers,
  martin


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message