Re: SAME-opattor (possible newbie question)

2005-09-05 Thread Chris Hostetter
: > : 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. : No, both fields are in the same document. Which is also why proximity : does not work.

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

Re: SAME-opattor (possible newbie question)

2005-09-04 Thread Chris Hostetter
: 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 contain

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