RE: Inside a Boolean Query

2006-02-28 Thread Seeta Somagani
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

Re: Inside a Boolean Query

2006-02-28 Thread Yonik Seeley
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

Inside a Boolean Query

2006-02-28 Thread Seeta Somagani
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