lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SOLR-3761) Cannot flush solr (delete all existing documents)
Date Fri, 31 Aug 2012 00:03:08 GMT

     [ https://issues.apache.org/jira/browse/SOLR-3761?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Hoss Man resolved SOLR-3761.
----------------------------

    Resolution: Duplicate

This sounds a lot like SOLR-3432, so i'm going ot assume it's a Dup.

ESSOUSSI: If you can confirm that this is not the same problem (ie: that you definitely have
an \_version\_ field xor your do not have an updateLog configured) please re-open and include
your configs and the logs at the time you executed the deleteByQuery
                
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message