lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: Filter for a search refinement
Date Sun, 21 Nov 2004 14:11:53 GMT

On Nov 21, 2004, at 8:34 AM, Nicolas Maisonneuve wrote:
> yes ...it's the same kind of feature... (i didn't see this Filter !,
> shame on me)
> but my method is maybe faster because with the queryFilter an internal
> search is launched and not with my method

It'd be interesting for you to compare the speed and see.  In your 
approach you are still doing two searches, with the first one used to 
get the documents available for the second search.

QueryFilter also caches.  Filters are really designed for long standing 
use, not a one time query refinement.  For query refinement (search 
within search), simply combine the two queries in a BooleanQuery as 
required clauses.

	Erik

>
>
>
> On Sun, 21 Nov 2004 05:06:12 -0500, Erik Hatcher
> <erik@ehatchersolutions.com> wrote:
>> Nicolas - how does your filter differ from the capabilities available
>> from the built-in QueryFilter?  It seems at first glance to be nearly
>> the same thing.
>>
>>         Erik
>>
>>
>>
>>
>> On Nov 21, 2004, at 4:52 AM, Nicolas Maisonneuve wrote:
>>
>>> I developped a filter to seach in filtering the search with anterior
>>> hits (search refinement)
>>>
>>> see the patch http://issues.apache.org/bugzilla/show_bug.cgi?id=32334
>>>
>>> Nicolas Maisonneuve
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
>>> For additional commands, e-mail: lucene-user-help@jakarta.apache.org
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: lucene-user-help@jakarta.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message