[
https://issues.apache.org/jira/browse/SOLR-5730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15139818#comment-15139818
]
Christine Poerschke commented on SOLR-5730:
-------------------------------------------
Resumed rebasing work for this ticket here,
[jira/solr-5730-master|https://github.com/apache/lucene-solr/tree/jira/solr-5730-master]
working-branch created (but final commit will still be attached as patch to
this ticket for consistency and clarity), reviews, comments, etc. welcome as
always.
(Note that the working-branch commit marked as
[tentative|https://github.com/apache/lucene-solr/commit/e0b2ebf9c5b9013c8ab2a10717feefd11a101bcb]
would form part not of SOLR-5730 here but it or something equivalent will be
committed as part of SOLR-8621.)
> make Lucene's SortingMergePolicy and EarlyTerminatingSortingCollector
> configurable in Solr
> ------------------------------------------------------------------------------------------
>
> Key: SOLR-5730
> URL: https://issues.apache.org/jira/browse/SOLR-5730
> Project: Solr
> Issue Type: New Feature
> Reporter: Christine Poerschke
> Assignee: Christine Poerschke
> Priority: Minor
> Labels: blocker
> Fix For: 5.5, master
>
> Attachments: SOLR-5730-part1of2.patch, SOLR-5730-part1of2.patch,
> SOLR-5730-part2of2.patch, SOLR-5730-part2of2.patch
>
>
> *Example configuration (solrconfig.xml) - corresponding to latest attached
> patch:*
> {noformat}
> <sortMerges enable="true">
> <str name="sort">timestamp desc</str>
> </sortMerges>
> {noformat}
> *Example configuration (solrconfig.xml) - corresponding to current
> (work-in-progress master-solr-8621) SOLR-8621 efforts:*
> {noformat}
> -<mergePolicy class="TieredMergePolicy"/>
> +<mergePolicyFactory class="SortingMergePolicyFactory">
> + <str name="in">TieredMergePolicyFactory</str>
> + <str name="sort">timestamp desc</str>
> +</mergePolicyFactory>
> {noformat}
> *Example use (EarlyTerminatingSortingCollector):*
> {noformat}
> &sort=timestamp+desc&segmentTerminateEarly=true
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]