[
https://issues.apache.org/jira/browse/SOLR-1581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12995915#comment-12995915
]
Grant Ingersoll commented on SOLR-1581:
---------------------------------------
I've been digging into this a bit more and I've got an idea that I want to
throw out there about this and how it relates to Numeric Range faceting (and
possibly date faceting)
Currently, the numeric range faceting produces a series of range queries from
which it retrieves the number of documents that satisfy that query. For facet
by function, I'm thinking that I would parse the facet.range value and get back
a ValueSource, from which I would get the DocValues and then I would iterate
over the DocValues for the base docset and keep counts for each bucket. It
then occurred to me that wouldn't this be a faster way then doing the range
queries (at the cost of it being a ValueSource and thus in memory) for each
gap? Otherwise, what I will do is simply put in an if/else clause, if it is a
function do the ValueSource, otherwise do the current way.
> Facet by Function
> -----------------
>
> Key: SOLR-1581
> URL: https://issues.apache.org/jira/browse/SOLR-1581
> Project: Solr
> Issue Type: New Feature
> Reporter: Grant Ingersoll
> Fix For: Next
>
>
> It would be really great if we could execute a function and quantize it into
> buckets that could then be returned as facets.
--
This message is automatically generated by JIRA.
-
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]