lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <>
Subject Re: search within search
Date Thu, 02 Nov 2006 12:16:47 GMT
Take the original search, and stick it inside a BooleanQuery as a  
MUST clause along with the new search criteria as another MUST  
clause.  That is effectively ANDing the two queries together.


On Nov 2, 2006, at 3:39 AM, spinergywmy wrote:

> Hi,
>    I want to perform a search within search feature in my  
> application, so I
> having this problem and stuck at this point. I  be able to retrieve  
> search
> index from my first search, but having problem to search within the  
> result
> that I retrieved. I have gone through some of the mailing list  
> archieves,
> and mentined to use queryFilter method and bitSet method, however I  
> m still
> not quite get it. In fact, I construct the index search to return  
> in String
> by using Hits, and I noticed from the archieves it will be a  
> problem doing
> with Hits in terms of performance wise.
>    However, I hope there are someone can provide me examples on how  
> to solve
> this problem with not changing a lot the way I coded.
>    Please let me know if the problem above not clear to you and I will
> explain again.
>    Thanks.
> regards,
> Wooi Meng
> -- 
> View this message in context: 
> search-tf2558436.html#a7129679
> Sent from the Lucene - Java Users mailing list archive at
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message