Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-5730

make Lucene's SortingMergePolicy and EarlyTerminatingSortingCollector configurable in Solr

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.0
    • Component/s: None
    • Labels:
      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

        1. SOLR-5730-part1and2.patch
          42 kB
          Christine Poerschke
        2. SOLR-5730-part1and2.patch
          44 kB
          Christine Poerschke
        3. SOLR-5730-part1of2.patch
          15 kB
          Christine Poerschke
        4. SOLR-5730-part1of2.patch
          53 kB
          Christine Poerschke
        5. SOLR-5730-part2of2.patch
          36 kB
          Christine Poerschke
        6. SOLR-5730-part2of2.patch
          28 kB
          Christine Poerschke

        Issue Links

          Activity

            People

            • Assignee:
              cpoerschke Christine Poerschke
              Reporter:
              cpoerschke Christine Poerschke

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment