apache / lucene

Apache Lucene open-source search software
https://lucene.apache.org/
Apache License 2.0
2.64k stars 1.02k forks source link

add sort comparator that uses OrdinalMap [LUCENE-4969] #6033

Open asfimport opened 11 years ago

asfimport commented 11 years ago

OrdinalMap (LUCENE-4795, SOLR-4490) lets you trade off reopen time for faster faceting: it maps per-segment ordinals to a "global" space based on deviation from expected deltas.

We could add a sort comparator to the sandbox or similar that uses this, especially in the case you are using this for faceting anyway: you can then safely offload all terms bytes to disk (DiskDV) and still have performant sorting and faceting.


Migrated from LUCENE-4969 by Robert Muir (@rmuir)

asfimport commented 11 years ago

Michael McCandless (@mikemccand) (migrated from JIRA)

+1