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.

        Erik

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: http://www.nabble.com/search-within- search-tf2558436.html#a7129679
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


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


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

Reply via email to