lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Kuhlmann <>
Subject Re: Bad Request (Solr + Weblogic + Oracle DB)
Date Thu, 02 Feb 2012 13:25:46 GMT
Hi rzao!

I think this is the problem:

On 02.02.2012 13:59, rzoao wrote:
> 				UpdateRequest req = new UpdateRequest();
> 				req.setAction(AbstractUpdateRequest.ACTION.COMMIT, false,
> 						false);
> 				req.add(documento);

You create a commit request, but send a document with it - that won't 
work. Either you add documents, or you perform a commit, but you can't 
do both.

Remove the line with setAction(), send the document, and after that, 
call commit() directly on the SolrServer.

If this doesn't help, then have a look into Weblogic's log files. You 
should find an exception there that helps you more.


View raw message