Hi,

Is there an easy way to find out the number of hits per document for a Query, rather than just for a Term?

Let's say, for example, I have a document like this:

"here is cats near dogs and here is cats a long long way from dogs"

and I use a SpanNearQuery to find "cats" near "dogs" with a slop of 1 - I need to be able to find out that there was 1 hit, even though there are 2 occurrences of "cats" and 2 of "dogs" - there is still only 1 hit that matches my Query.

Is this possible?

Thanks,
JB.




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

Reply via email to