mirror of https://github.com/apache/lucene.git
SOLR-11076 Fix API changes.
This commit is contained in:
parent
98c371f85e
commit
a7c142c536
|
@ -49,7 +49,7 @@ public class AutoscalingHistoryHandler extends RequestHandlerBase implements Per
|
|||
private static final String STAGE_FQ_FORMAT = "{!term f=" + SystemLogListener.STAGE_FIELD + "}%s";
|
||||
private static final String COLLECTION_FQ_FORMAT = "{!term f=" + SystemLogListener.COLLECTIONS_FIELD + "}%s";
|
||||
private static final String TYPE_FQ_FORMAT = "{!term f=" + SystemLogListener.EVENT_TYPE_FIELD + "}%s";
|
||||
private static final String NODE_FQ_FORMAT = "{!term f=event.property." + TriggerEvent.NODE_NAME + "_s}%s";
|
||||
private static final String NODE_FQ_FORMAT = "{!term f=event.property." + TriggerEvent.NODE_NAMES + "_ss}%s";
|
||||
private static final String BEFORE_ACTION_FQ_FORMAT = "{!term f=" + SystemLogListener.BEFORE_ACTIONS_FIELD + "}%s";
|
||||
private static final String AFTER_ACTION_FQ_FORMAT = "{!term f=" + SystemLogListener.AFTER_ACTIONS_FIELD + "}%s";
|
||||
|
||||
|
|
|
@ -189,7 +189,7 @@ public class AutoscalingHistoryHandlerTest extends SolrCloudTestCase {
|
|||
docs = solrClient.query(query).getResults();
|
||||
assertEquals(8, docs.size());
|
||||
for (SolrDocument doc : docs) {
|
||||
assertEquals(nodeAddedName, doc.getFieldValue("event.property.nodeName_s"));
|
||||
assertTrue(doc.getFieldValues("event.property.nodeNames_ss").contains(nodeAddedName));
|
||||
}
|
||||
|
||||
query = params(CommonParams.QT, CommonParams.AUTOSCALING_HISTORY_PATH,
|
||||
|
|
Loading…
Reference in New Issue