Re: How to get values that produced hits

2005-05-10 Thread Yonik Seeley
a) if you don't care about scoring, split up the boolean query into term queries and do them individually. b) do term queries after the fact (or use a termdoc enumerator for a faster check). -Yonik On 5/10/05, Steve Rajavuori <[EMAIL PROTECTED]> wrote: > I have some cases where a user submits a

How to get values that produced hits

2005-05-10 Thread Steve Rajavuori
I have some cases where a user submits a Boolean query that could have many terms -- e.g. "A=1 OR B=2 OR C=3", etc. When I retrieve the hits I want to be able to retrieve the value the produced the hit. In other words, I want to know if it was "A=1" that produced this hit, or was it "B=2". How c