Shai Erera created LUCENE-5147:
----------------------------------
Summary: Consider returning a Map<FacetRequest,FacetResult> from
FacetsAccumulator
Key: LUCENE-5147
URL: https://issues.apache.org/jira/browse/LUCENE-5147
Project: Lucene - Core
Issue Type: Improvement
Components: modules/facet
Reporter: Shai Erera
Today the API returns a List which suggests there's an ordering going on. This
may be confusing if one uses FacetsAccumulator.create which results in a
MultiFacetsAccumulator, and then the order of the results does not correspond
to the order of the requests.
Rather than trying to enforce ordering, a simple mapping may be better even for
consuming apps since they will be able to easily lookup desired results.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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]