You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "vishal (JIRA)" <ji...@apache.org> on 2013/11/20 12:03:35 UTC

[jira] [Commented] (SOLR-5472) Solr deleting newly created indexes after some hour

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

vishal commented on SOLR-5472:
------------------------------

Hi Erick

Thanks for your reply.

But my new documents not having endtime value neither they had before. Neither I had changed the delete. Cron job is also running from starting of the project.

Could you please let me know how can I stop this because this was not happening earlier. It start after the restarting of Tomcat.

The index that were created before the tomcat restart remains present but the index that were created after that gets delete.

Could you please suggest me what should I do to stop this.

If you require any further input from my side then kindly let me know.

Regards
Vishal Gupta
CUG: 830 4659
Email: vishal.gupta@steria.co.in



> Solr deleting newly created indexes after some hour
> ---------------------------------------------------
>
>                 Key: SOLR-5472
>                 URL: https://issues.apache.org/jira/browse/SOLR-5472
>             Project: Solr
>          Issue Type: Bug
>          Components: clients - php, MoreLikeThis
>    Affects Versions: 4.2
>         Environment: UNIX, TYPO3
>            Reporter: vishal
>            Priority: Critical
>              Labels: features, indexing, solrindex
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> 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.
> Devlog shows a delete query gets fired automatically by _cli_scheduler.
> 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 commented.
> My solr was running fine on production but now it is creating above mentioned issue. So urgent help require.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org