Re: SAME-opattor (possible newbie question)

2005-09-05 Thread Martin Malmsten
: 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. if i understand you correctly, then you are describing a use case in which the index has two documents, each co

SAME-opattor (possible newbie question)

2005-09-04 Thread Martin Malmsten-2
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