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

Yonik Seeley updated SOLR-7522:
-------------------------------
    Attachment: SOLR-7522.patch

Here's a patch that adds FacetFieldProcessorNumeric that uses the new slot 
accumulator resize ability in conjunction with a hash table.
- Numeric values are hashed to slots.
- re-hash reassigns slots in all accumulators
- added support for custom index-order sorting accumulator
- added support for custom counting accumulators (one example is the hash table 
keeps the count itself)


> Implement single-valued faceting on numeric fields
> --------------------------------------------------
>
>                 Key: SOLR-7522
>                 URL: https://issues.apache.org/jira/browse/SOLR-7522
>             Project: Solr
>          Issue Type: Bug
>          Components: Facet Module
>    Affects Versions: 5.1
>            Reporter: Yonik Seeley
>             Fix For: 5.2
>
>         Attachments: SOLR-7522.patch
>
>
> The underlying issue is SOLR-7521, a Lucene 5 bug / "feature" that prevents a 
> string index view of an indexed numeric field.
> This issue will address SOLR-7496 for single valued numeric fields.



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

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

Reply via email to