Thanks for the reply.  Hopefully I'll get more, and turn this into a
mini project I can commit back to the project, or at least make
available to anyone who'd
like the functionality.    Of course, if I'm the only one who cares,
it could be a long road.  :)

gene


On Fri, May 1, 2009 at 9:41 AM, Ensdorf Ken <ensd...@zoominfo.com> wrote:
>> Hello Solrites (or Solrorians)
>
> I prefer "Solrdier" :)
>
>>
>> Is it possible to get the average ranking score for a set of docs that
>> would be returned for a given facet value.
>>
>> If not in SOLR, what about Lucene?
>>
>> How hard to implement?
>>
>> I have years of Java experience, but no Lucene coding experience.
>>
>> Would be happy to implement if someone could guide me.
>>
>> thanks
>> Gene
>>
>
> I don't know much about the implementation, but it seems to me it should be 
> possible to sum up the scores as the matching facet terms are gathered and 
> counted.  According to the docs there are 2 algorithms that do this - one 
> enumerates all the unique values of the facet field and does an intersetion 
> with the query, and the other scans the result set and sums up the unique 
> values in the facet field for each doc.  I would start by looking at the 
> source for the FacetComponent (org.apache.solr.handler.component) and 
> SimpleFacets (org.apache.solr.request) classes.
>
> Sorry I can't be of more help - it seems like an interesting challenge!
>
> Onward...
> -Ken
>

Reply via email to