lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomás Fernández Löbbe (JIRA) <j...@apache.org>
Subject [jira] [Updated] (SOLR-6216) Better faceting for multiple intervals on DV fields
Date Tue, 01 Jul 2014 21:02:26 GMT

     [ https://issues.apache.org/jira/browse/SOLR-6216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tomás Fernández Löbbe updated SOLR-6216:
----------------------------------------

    Attachment: SOLR-6216.patch

Added a distributed test case. I don't know if it makes sense to have a complete different
test class for this, but I need to suppress some older codecs, and I don't know if there is
a way from inside the test (on the distributed test cases) to know which codecs are being
used. 

> Better faceting for multiple intervals on DV fields
> ---------------------------------------------------
>
>                 Key: SOLR-6216
>                 URL: https://issues.apache.org/jira/browse/SOLR-6216
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Tomás Fernández Löbbe
>         Attachments: SOLR-6216.patch, SOLR-6216.patch, SOLR-6216.patch
>
>
> There are two ways to have faceting on values ranges in Solr right now: “Range Faceting”
and “Query Faceting” (doing range queries). They both end up doing something similar:
> {code:java}
> searcher.numDocs(rangeQ , docs)
> {code}
> The good thing about this implementation is that it can benefit from caching. The bad
thing is that it may be slow with cold caches, and that there will be a query for each of
the ranges.
> A different implementation would be one that works similar to regular field faceting,
using doc values and validating ranges for each value of the matching documents. This implementation
would sometimes be faster than Range Faceting / Query Faceting, specially on cases where caches
are not very effective, like on a high update rate, or where ranges change frequently.
> Functionally, the result should be exactly the same as the one obtained by doing a facet
query for every interval



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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


Mime
View raw message