Details
-
New Feature
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
Example configuration (solrconfig.xml) :
-<mergePolicy class="TieredMergePolicy"/> +<mergePolicyFactory class="org.apache.solr.index.SortingMergePolicyFactory"> + <str name="wrapped.prefix">in</str> + <str name="in.class">org.apache.solr.index.TieredMergePolicyFactory</str> + <str name="sort">timestamp desc</str> +</mergePolicyFactory>
Example use (EarlyTerminatingSortingCollector):
&sort=timestamp+desc&segmentTerminateEarly=true
Attachments
Attachments
Issue Links
- is blocked by
-
SOLR-8621 solrconfig.xml: deprecate/replace <mergePolicy> with <mergePolicyFactory>
- Closed
- is related to
-
SOLR-8959 TestMiniSolrCloudCluster.testSegmentTerminateEarly should be refactored into it's own SolrCloudTestCase subclass
- Resolved
- relates to
-
SOLR-13681 make Lucene's index sorting directly configurable in Solr
- Open
-
SOLR-4654 Integrate Lucene's sorting and early query termination capabilities into Solr
- Closed
-
SOLR-16217 SortingMergePolicy: test coverage for dual-field sort
- Closed
- requires
-
LUCENE-6925 add (test-framework) [Random]ForceMergePolicy classes
- Closed
-
LUCENE-6691 tweak SortingMergePolicy.getSortDescription
- Closed
-
SOLR-7750 change TestConfig.testDefaults to cover all SolrIndexConfig fields
- Closed
-
SOLR-8489 TestMiniSolrCloudCluster.createCollection to support extra & alternative collectionProperties
- Closed
-
SOLR-8504 (IndexSchema|SolrIndexConfig)Test: private static finals for solrconfig.xml and schema.xml String literals
- Closed
-
LUCENE-6646 make the EarlyTerminatingSortingCollector constructor SortingMergePolicy-free
- Closed
-
SOLR-8283 factor out SortSpecParsing[Test] from QueryParsing[Test]
- Closed
-
SOLR-8321 add a (SolrQueryRequest free) SortSpecParsing.parseSortSpec variant
- Closed
-
SOLR-8621 solrconfig.xml: deprecate/replace <mergePolicy> with <mergePolicyFactory>
- Closed
-
SOLR-8482 add & use QueryCommand.[gs]etTerminateEarly accessors
- Closed