コード例 #1
0
 private void OnGetClusterConfigs(SolrConfigList resp, Dictionary <string, object> customData)
 {
     Log.Debug("TestRetrieveAndRank.OnGetClusterConfigs()", "{0}", customData["json"].ToString());
     Test(resp != null);
     _getClusterConfigsTested = true;
     Runnable.Run(ReadyToContinue(_waitTime));
 }
コード例 #2
0
 private void OnGetClusterConfigs(SolrConfigList resp, string data)
 {
     Log.Debug("\tExampleRetrieveAndRank", "Retrieve and rank - Get cluster config response: {0}", data);
     Test(resp != null);
     _getClusterConfigsTested = true;
     Runnable.Run(ReadyToContinue(_waitTime));
 }
コード例 #3
0
    private void OnGetClusterConfigs(SolrConfigList resp, string data)
    {
        if (resp != null)
        {
            if (resp.solr_configs.Length == 0)
            {
                Log.Debug("ExampleRetrieveAndRank", "OnGetClusterConfigs | no cluster configs!");
            }

            foreach (string config in resp.solr_configs)
            {
                Log.Debug("ExampleRetrieveAndRank", "OnGetClusterConfigs | solr_config: " + config);
            }
        }
        else
        {
            Log.Debug("ExampleRetrieveAndRank", "OnGetClustersConfigs | Get Cluster Configs Response is null!");
        }
    }
コード例 #4
0
 private void OnGetClusterConfigs(SolrConfigList resp, string data)
 {
     Log.Debug("\tExampleRetrieveAndRank", "Retrieve and rank - Get cluster config response: {0}", data);
     _getClusterConfigsTested = true;
     Invoke("ReadyToContinue", _waitTime);
 }
コード例 #5
0
 private void OnGetClusterConfigs(SolrConfigList resp, Dictionary <string, object> customData)
 {
     Log.Debug("ExampleRetrieveAndRank.OnGetClusterConfigs()", "Retrieve and rank - Get cluster config response: {0}", customData["json"].ToString());
     _getClusterConfigsTested = true;
     Invoke("ReadyToContinue", _waitTime);
 }