[ https://issues.apache.org/jira/browse/SOLR-5219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13765247#comment-13765247 ]
ASF subversion and git services commented on SOLR-5219: ------------------------------------------------------- Commit 1522472 from [~dawidweiss] in branch 'dev/trunk' [ https://svn.apache.org/r1522472 ] SOLR-5219: follow-up code cleanups. > Rewritten selection of the default search and document clustering algorithms > ---------------------------------------------------------------------------- > > Key: SOLR-5219 > URL: https://issues.apache.org/jira/browse/SOLR-5219 > Project: Solr > Issue Type: Improvement > Reporter: Dawid Weiss > Assignee: Dawid Weiss > Priority: Minor > Fix For: 4.5, 5.0 > > > 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. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org