lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vishalgupta084 <>
Subject Solr is deleting newly created index from index folder
Date Wed, 20 Nov 2013 12:31:12 GMT
I am runnig cron job for indexing and commiting documents for solr search.
Earlier everything was fine. But from some time it is deleting indexes from
index folder. Whenever I update any document or create any new document, it
gets indexed and commited and appear in search but after some hour later
when i search for the same document it gets disappear from the search and
when i cheked index folder size then noticed that it gets reduced to its
original size that was before updating the document 
Query is:

 <delete fromPending="true" fromCommitted="true"><query>(endtime:[* TO NOW]
AND -endtime:"1970-01-01T01:00:00Z")</query></delete>

 Could anyone please let me know why it is deleting only newly created
indexes not the old indexes. Old indexes appear in search.

 How can i stop this deletion process.

 Although I checked for deletion policy also but in my solrsonfig.xml it is

 My solr was running fine on production but now it is creating above
mentioned issue. So urgent help require.

View this message in context:
Sent from the Solr - User mailing list archive at

View raw message