[
https://issues.apache.org/jira/browse/SOLR-5730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15110927#comment-15110927
]
Hoss Man commented on SOLR-5730:
--------------------------------
bq. Alternative #1 solrconfig.xml element only:
I think this is the best approach conceptually from the standpoint of a user's
mental model.
bq. solrconfig.xml references schema.xml field names
This has always been the case -- no new ground here, and not soemthing we have
any reason to start avoiding. sane solrconfig.xml settings have always
depended on an understanding of the schema.xml, it's going the other way
(schema.xml settings requiring some knowledge of the solrconfig.xml) that has
always been avoided, because it breaks the conceptual model of the distinction
between "what, abstractly, is my data? (schema)" and "how, practically, do i
want to use my data? (solrconfig).
segment sorting feels very much like a "practically speaking, how am i using
this data" type question, and not a "conceptually speaking, what do these
documents represent" type question.
bq. SolrIndexSearcher.buildAndRunCollectorChain needs to be able to pass the
merge policy sort to EarlyTerminatingSortingCollector but only one of the two
SolrIndexSearcher constructors currently takes an SolrIndexConfig
We should put more work into making the user experience better at the expense
of implementation details -- in this case though i'm not sure i really see the
problem? SolrIndexSearcher always knows it's SolrCore which has accessors for
the SolrConfig, which exposes the SlrIndexConfig ... correct?
> 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
> Attachments: SOLR-5730-part1of2.patch, SOLR-5730-part2of2.patch
>
>
> *Example configuration (SortingMergePolicy):*
> solrconfig.xml
> {noformat}
> <useSortingMergePolicy>true</useSortingMergePolicy>
> {noformat}
> schema.xml
> {noformat}
> <mergeSortSpec>timestamp desc</mergeSortSpec>
> {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]