[
https://issues.apache.org/jira/browse/SOLR-12527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16526529#comment-16526529
]
Christine Poerschke commented on SOLR-12527:
--------------------------------------------
Attached proposed patch.
----
In future we could probably also merge some existing configsets e.g.
[cdcr-cluster1|https://github.com/apache/lucene-solr/tree/releases/lucene-solr/7.4.0/solr/core/src/test-files/solr/configsets/cdcr-cluster1]
and
[cdcr-cluster2|https://github.com/apache/lucene-solr/tree/releases/lucene-solr/7.4.0/solr/core/src/test-files/solr/configsets/cdcr-cluster2]
could be merged into one {{cdcr-cluster}} configset (which contains no
{{/cdcr}} handler) and the
[CdcrBidirectionalTest|https://github.com/apache/lucene-solr/blob/releases/lucene-solr/7.4.0/solr/core/src/test/org/apache/solr/cloud/cdcr/CdcrBidirectionalTest.java]
test code could via the config api add the correct {{/cdcr}} handler for each
of its two clusters.
> turn core/test TestCloudSearcherWarming.Config into
> test-framework/ConfigRequest
> --------------------------------------------------------------------------------
>
> Key: SOLR-12527
> URL: https://issues.apache.org/jira/browse/SOLR-12527
> Project: Solr
> Issue Type: Test
> Reporter: Christine Poerschke
> Assignee: Christine Poerschke
> Priority: Minor
> Attachments: SOLR-12527.patch
>
>
> Tests can use this class e.g. to add a custom component or handler to an
> otherwise generic configset.
> [CustomHighlightComponentTest.java#L138-L171|https://github.com/apache/lucene-solr/blob/releases/lucene-solr/7.4.0/solr/core/src/test/org/apache/solr/handler/component/CustomHighlightComponentTest.java#L138-L171]
> illustrates the approach.
> https://lucene.apache.org/solr/guide/7_4/config-api.html is the Solr
> Reference Guide's Config API section.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]