Thanks Yonik, there they are
-Original Message-
From: Yonik Seeley [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 28, 2006 4:59 PM
To: java-user@lucene.apache.org
Subject: Re: Inside a Boolean Query
On 2/28/06, Seeta Somagani <[EMAIL PROTECTED]> wrote:
> Is there a way t
On 2/28/06, Seeta Somagani <[EMAIL PROTECTED]> wrote:
> Is there a way that I can detect the composition of a BooleanQuery,
> rather than just extract the individual terms?
Hi Seeta,
I think BooleanQuery.getClauses() might be what you are looking for.
-Yonik
Hi,
I need to return the context of the terms along with the results.
The approach that I'm using is to
1) detect what kind of query it is,
2) extract the terms of the query,
3) fetch the context of the individual terms, and
4) finally join them depending on the