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

Joel Bernstein edited comment on SOLR-10217 at 3/9/17 11:19 PM:
----------------------------------------------------------------

Gethin and I had discussed using a stream for the background query. But it just 
seemed like the right approach in this scenario was to make it a query. The 
algorithm is written with an AnalyticsQuery and works directly with the index, 
so collecting a bitset for the background query scales really well. Using a 
stream we would have to feed docID's back into the AnalyticsQuery to get the 
background set, just seemed a lot less scalable.




was (Author: joel.bernstein):
Gethin and I had discussed using stream for the background query. But it just 
seemed like the right approach in this scenario to make it a query. The 
algorithm is written with an AnalyticsQuery and works directly with the index, 
so collecting a bitset for the background query scales really well. Using a 
stream we would have to feed docID's back into the AnalyticsQuery to get the 
background set, just seemed a lot less scalable.



> Add a query for the background set to the significantTerms streaming 
> expression
> -------------------------------------------------------------------------------
>
>                 Key: SOLR-10217
>                 URL: https://issues.apache.org/jira/browse/SOLR-10217
>             Project: Solr
>          Issue Type: New Feature
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Gethin James
>         Attachments: SOLR-20217.patch
>
>
> Following the work on SOLR-10156 we now have a significantTerms expression.
> Currently, the background set is always the full index.  It would be great if 
> we could use a query to define the background set.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to