[ 
https://issues.apache.org/jira/browse/SOLR-3761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13442367#comment-13442367
 ] 

Jack Krupansky edited comment on SOLR-3761 at 8/27/12 11:03 PM:
----------------------------------------------------------------

Is there any chance that you inadvertently deleted or modified the \_version\_ 
field in schema.xml?

See: SOLR-3432 - deleteByQuery silently ignored if updateLog is enabled, but 
\_version\_ field does not exist in schema
                
      was (Author: jkrupan):
    Is there any chance that you inadvertently deleted or modified the 
{{_version_}} field in schema.xml?

See: SOLR-3432 - deleteByQuery silently ignored if updateLog is enabled, but 
{{_version_}} field does not exist in schema
                  
> Cannot flush solr (delete all existing documents)
> -------------------------------------------------
>
>                 Key: SOLR-3761
>                 URL: https://issues.apache.org/jira/browse/SOLR-3761
>             Project: Solr
>          Issue Type: Bug
>          Components: clients - java, update
>    Affects Versions: 4.0-ALPHA, 4.0-BETA
>         Environment: linux debian 5, jdk 1.6 u 13
>            Reporter: ESSOUSSI Jamel
>             Fix For: 4.0
>
>
> Hi,
> I should flush solr (delete all existing documents) 
> --> for doing this, I have the following code: 
> HttpSolrServer server = HttpSolrServer(url); 
> server.setSoTimeout(1000); 
> server.setConnectionTimeout(100); 
> server.setDefaultMaxConnectionsPerHost(100); 
> server.setMaxTotalConnections(100); 
> server.setFollowRedirects(false); 
> server.setAllowCompression(true); 
> server.setMaxRetries(1); 
> server.setParser(new XMLResponseParser()); 
> UpdateResponse ur = server.deleteByQuery("*:*"); 
> server.commit(true, true); 
> In the result, I hace already all document, --> the ur.getStatus() eq "0" and 
> the solr documents was not deleted 
> Thinks

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to