Solr
  1. Solr
  2. SOLR-5219

Rewritten selection of the default search and document clustering algorithms

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.5, 5.0
    • Component/s: None
    • Labels:
      None

      Description

      This is currently quite messy: the user needs to explicitly name one algorithm as the "default", the code of processing that is a bit hairy.

      The new logic is:

      1) if there is a clustering algorithm named 'default' it becomes the default one.
      2) if there's any algorithm defined at all, the first one in declaration order becomes the default one.

      There is no need to declare clustering.algorithm parameter for the clustering component, unless the default from the above procedure needs to be altered.

      This is a fully backwards compatible improvement that allows one to declare more than one algorithm and give them sensible names.

        Issue Links

          Activity

          Hide
          ASF subversion and git services added a comment -

          Commit 1533006 from Dawid Weiss in branch 'dev/branches/branch_4x'
          [ https://svn.apache.org/r1533006 ]

          SOLR-5219: This comment is no longer valid (the first component becomes the default).

          Show
          ASF subversion and git services added a comment - Commit 1533006 from Dawid Weiss in branch 'dev/branches/branch_4x' [ https://svn.apache.org/r1533006 ] SOLR-5219 : This comment is no longer valid (the first component becomes the default).
          Hide
          ASF subversion and git services added a comment -

          Commit 1533005 from Dawid Weiss in branch 'dev/trunk'
          [ https://svn.apache.org/r1533005 ]

          SOLR-5219: This comment is no longer valid (the first component becomes the default).

          Show
          ASF subversion and git services added a comment - Commit 1533005 from Dawid Weiss in branch 'dev/trunk' [ https://svn.apache.org/r1533005 ] SOLR-5219 : This comment is no longer valid (the first component becomes the default).
          Hide
          Adrien Grand added a comment -

          4.5 release -> bulk close

          Show
          Adrien Grand added a comment - 4.5 release -> bulk close
          Hide
          ASF subversion and git services added a comment -

          Commit 1522473 from Dawid Weiss in branch 'dev/branches/branch_4x'
          [ https://svn.apache.org/r1522473 ]

          SOLR-5219: follow-up code cleanups.

          Show
          ASF subversion and git services added a comment - Commit 1522473 from Dawid Weiss in branch 'dev/branches/branch_4x' [ https://svn.apache.org/r1522473 ] SOLR-5219 : follow-up code cleanups.
          Hide
          ASF subversion and git services added a comment -

          Commit 1522472 from Dawid Weiss in branch 'dev/trunk'
          [ https://svn.apache.org/r1522472 ]

          SOLR-5219: follow-up code cleanups.

          Show
          ASF subversion and git services added a comment - Commit 1522472 from Dawid Weiss in branch 'dev/trunk' [ https://svn.apache.org/r1522472 ] SOLR-5219 : follow-up code cleanups.
          Hide
          ASF subversion and git services added a comment -

          Commit 1521982 from Dawid Weiss in branch 'dev/branches/branch_4x'
          [ https://svn.apache.org/r1521982 ]

          SOLR-5219: Rewritten selection of the default search and document clustering algorithms.

          Show
          ASF subversion and git services added a comment - Commit 1521982 from Dawid Weiss in branch 'dev/branches/branch_4x' [ https://svn.apache.org/r1521982 ] SOLR-5219 : Rewritten selection of the default search and document clustering algorithms.
          Hide
          ASF subversion and git services added a comment -

          Commit 1521979 from Dawid Weiss in branch 'dev/trunk'
          [ https://svn.apache.org/r1521979 ]

          SOLR-5219: always forget about eol-style...

          Show
          ASF subversion and git services added a comment - Commit 1521979 from Dawid Weiss in branch 'dev/trunk' [ https://svn.apache.org/r1521979 ] SOLR-5219 : always forget about eol-style...
          Hide
          ASF subversion and git services added a comment -

          Commit 1521978 from Dawid Weiss in branch 'dev/trunk'
          [ https://svn.apache.org/r1521978 ]

          SOLR-5219: Rewritten selection of the default search and document clustering algorithms.

          Show
          ASF subversion and git services added a comment - Commit 1521978 from Dawid Weiss in branch 'dev/trunk' [ https://svn.apache.org/r1521978 ] SOLR-5219 : Rewritten selection of the default search and document clustering algorithms.

            People

            • Assignee:
              Dawid Weiss
              Reporter:
              Dawid Weiss
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development