lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rustam Hashimov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-9868) RangeFacet : Use DocValues for accs and docSet collection instead of RangeQuery
Date Mon, 09 Jan 2017 22:55:58 GMT

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

Rustam Hashimov commented on SOLR-9868:
---------------------------------------

Feedbacks to improve the code and close the gaps for contribution would be much appreciated!

> RangeFacet : Use DocValues for accs and docSet collection instead of RangeQuery
> -------------------------------------------------------------------------------
>
>                 Key: SOLR-9868
>                 URL: https://issues.apache.org/jira/browse/SOLR-9868
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Facet Module
>    Affects Versions: master (7.0)
>            Reporter: Rustam Hashimov
>             Fix For: master (7.0)
>
>
> RangeFacet initiates a range query for each range bucket to get the docSet. DocSet later
used for accs collection.
> For singleValued numeric fields, we can use docValues to find the matching slots for
each doc to collect accumulators while iterating over base docSet. If there is a subFacet,
docSet per range bucket can be collected from base docSet as well. 
> Gains :
> - One iteration over base docSet vs querying over baseDocSet for each range bucket
> - Memory saving If there is no subFacet, since per bucket docSet is not needed



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message