mirror of https://github.com/apache/lucene.git
SOLR-977 version must be set as 1
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@776960 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6fe805f80b
commit
6ad33c1fb7
|
@ -260,9 +260,7 @@ public class CommonsHttpSolrServer extends SolrServer
|
|||
// The parser 'wt=' and 'version=' params are used instead of the original params
|
||||
ModifiableSolrParams wparams = new ModifiableSolrParams();
|
||||
wparams.set( CommonParams.WT, parser.getWriterType() );
|
||||
if(parser.getClass() != BinaryResponseParser.class ){
|
||||
wparams.set( CommonParams.VERSION, parser.getVersion());
|
||||
}
|
||||
wparams.set( CommonParams.VERSION, parser.getVersion());
|
||||
if( params == null ) {
|
||||
params = wparams;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue