This post describes the search-within-search implementation.

http://sujitpal.blogspot.com/2007/04/lucene-search-within-search-with.html


Shashi


On Sat, Apr 4, 2009 at 1:21 PM, Vernon Chapman <chapman.li...@gmail.com>wrote:

> Bess,
>
> I think that might work I'll try it out and see how it works for my case.
>
> thanks
>
>
> Bess Sadler wrote:
>
>> Hi, Vernon.
>>
>> In Blacklight, the way we've been doing this is just to stack queries on
>> top of each other. It's a conceptual shift from the way one might think
>> about "search within", but it accomplishes the same thing. For example:
>>
>> search1 ==> q=horse
>>
>> search2 ==> q=horse AND dog
>>
>> The second search, from the user's point of view, takes the search results
>> from the horse search and further narrows them to those items that also
>> contain dog. But you're really just doing a new search, one that contains
>> both search values.
>>
>> Does that help? Or am I misunderstanding your question?
>>
>> Bess
>>
>> On 4-Apr-09, at 12:10 PM, Vernon Chapman wrote:
>>
>>  I am not sure if this is a really easy or newbee-ish type question.
>>> I would like to implement a search within these results type feature.
>>> Has anyone done this and could you please share some tips, pointers and
>>> or documentation on how to implement this.
>>>
>>> Thanks
>>>
>>> Vern
>>>
>>>
>>
>>

Reply via email to