lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Smiley (JIRA)" <>
Subject [jira] Created: (SOLR-2280) commitWithin ignored for a delete query
Date Thu, 09 Dec 2010 19:02:01 GMT
commitWithin ignored for a delete query

                 Key: SOLR-2280
             Project: Solr
          Issue Type: Bug
          Components: clients - java
            Reporter: David Smiley
            Priority: Minor

The commitWithin option on an UpdateRequest is only honored for requests containing new documents.
 It does not, for example, work with a delete query.  The following doesn't work as expected:
UpdateRequest request = new UpdateRequest();

In my opinion, the commitWithin attribute should be  permitted on the <delete/> xml
tag as well as <add/>.  Such a change would go in and its would have
some ramifications elsewhere too.  Once this is done, then UpdateRequest.getXml() can be updated
to generate the right XML.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message