lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Debra <devo...@netvision.net.il>
Subject Re: Return only one result per results group Return
Date Thu, 26 Jul 2007 17:14:13 GMT

I'm not sure what you are refering to as code to operate with group. In the
example I gave a group is a group of articles from the same author.
Thank you,

Does lucene have a built in option to return only one document from the same
group of documents even if there are more documents matching the search
within that group.

It will save me  the need to write code to filter out the results returned.


Dmitry-17 wrote:
> 
> Debra,
> What code are using in your application to operate with Groups, can you 
> provide example.
> 
> Thanks,
> DT
> www.ejinz.com
> EjinZ Search News
> ----- Original Message ----- 
> From: "Debra" <devoraf@netvision.net.il>
> To: <general@lucene.apache.org>
> Sent: Thursday, July 26, 2007 1:30 AM
> Subject: Return only one result per results group Return
> 
> 
>>
>> Is there a way to receive only one result for each group of search
>> results
>> depending on a specified group field.
>>
>> Example:
>> Searching a list of  articles with author as the group field would return
>> articles that match the query but will return only one article per author
>> even if the author has more then one article matching the query.
>>
>> Thank you
>> -- 
>> View this message in context: 
>> http://www.nabble.com/Return-only-one-result-per-results-group-Return-tf4149573.html#a11804839
>> Sent from the Lucene - General mailing list archive at Nabble.com.
>>
>> 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Return-only-one-result-per-results-group-Return-tf4149573.html#a11815067
Sent from the Lucene - General mailing list archive at Nabble.com.


Mime
View raw message