Search code examples
tomcatsolrconsole-applicationsolrnet

solr commit returns 400 bad request , In Log :- Unknown commit parameter 'waitFlush'


i am New to solr and i am trying to make 1 sample test application, when application execute and i get error in visual studio on run time, error :--solr commit returns 400 bad request

and in solr log file i got error :-- Unknown commit parameter 'waitFlush'

Why this error ..

apache tomcat solr version :- 4.6.0

solrnet.dll version :- 0.3.0.0

Solr code in .net application:-

var files = new TextFileRepository(this.connectionString).GetTextFiles();
solrWorker.Add(files);
solrWorker.Commit(); --> here i get errro "solr commit returns 400 bad request"

How to resolve it..?

regards..


Solution

  • You are using an older version of SolrNet. This error is a known issue with older versions of SolrNet and Solr 4.X. Please grab an updated version from one of the following: