[ 
https://issues.apache.org/jira/browse/SOLR-4465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13595658#comment-13595658
 ] 

Andy Laird commented on SOLR-4465:
----------------------------------

Thanks Joel,
This is the exact use case that we need.  We have 100 or so different brands 
(high-end to low-end) and we want to provide results containing a configurable 
mixture of documents from each brand -- for "big spenders", for example, we'd 
like to showcase more high-end brands.  We'd also like to mix up the results by 
other dimensions, too.  It's almost guaranteed that the results for a given 
query contain docs that have lower score than subsequent ones (from a Lucene 
scoring point-of-view), only so we can provide variety.  It's more than just a 
sort algorithm -- the pathological case is a query for 100 results where all of 
the top scores are from a single brand.  We clearly will have to think about 
some sort of "slop factor" (how many documents to consider before giving up, 
etc.) to make this work, but this gives us a great starting point.
                
> Configurable Collectors
> -----------------------
>
>                 Key: SOLR-4465
>                 URL: https://issues.apache.org/jira/browse/SOLR-4465
>             Project: Solr
>          Issue Type: New Feature
>          Components: search
>    Affects Versions: 4.1
>            Reporter: Joel Bernstein
>             Fix For: 4.2, 5.0
>
>         Attachments: SOLR-4465.patch, SOLR-4465.patch, SOLR-4465.patch, 
> SOLR-4465.patch, SOLR-4465.patch, SOLR-4465.patch, SOLR-4465.patch, 
> SOLR-4465.patch, SOLR-4465.patch, SOLR-4465.patch
>
>
> This issue is to add configurable custom collectors to Solr. This expands the 
> design and work done in issue SOLR-1680 to include:
> 1) CollectorFactory configuration in solconfig.xml
> 2) Http parameters to allow clients to dynamically select a CollectorFactory 
> and construct a custom Collector.
> 3) Make aspects of QueryComponent pluggable so that the output from 
> distributed search can conform with custom collectors at the shard level.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to