You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2013/08/23 12:35:52 UTC

[jira] [Resolved] (CAMEL-6606) When restart camel, lucene index folder always by empty

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

Claus Ibsen resolved CAMEL-6606.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.12.0
                   2.11.2

The indexer should now use create or append, so it ought to reuse existing index if already exists.
                
> When restart camel, lucene index folder always by empty
> -------------------------------------------------------
>
>                 Key: CAMEL-6606
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6606
>             Project: Camel
>          Issue Type: Bug
>    Affects Versions: 2.11.1
>            Reporter: zhang liang
>            Assignee: Claus Ibsen
>             Fix For: 2.11.2, 2.12.0
>
>
> When restart camel, lucene index folder always be empty.
> I check the source code. It is in class LuceneIndexer line 145, method openIndexWriter. It seems when camel start, will create a new lucene index folder. Because the variable "indexCreated" cannot set by outside. 

--
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