Project

General

Profile

« Previous | Next » 

Revision 7727

Added by Jing Tao about 11 years ago

Add getSolrSpecVersion method for the HttpServer and the controller.

View differences:

SolrQueryServiceController.java
116 116
        }
117 117
      
118 118
    }
119
    
120
    /**
121
     * Get the spec version of the solr server
122
     * @return
123
     */
124
    public String getSolrSpecVersion() {
125
        if(isEmbeddedSolrServer) {
126
            return embeddedQueryService.getSolrServerVersion();
127
        } else {
128
            return httpQueryService.getSolrServerVersion();
129
        }
130
    }
119 131

  
120 132
    
121 133
}

Also available in: Unified diff