You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Benoit Tellier (Jira)" <se...@james.apache.org> on 2019/11/05 07:04:00 UTC

[jira] [Created] (JAMES-2965) Unable to use CLI reIndexing with Spring and Lucene

Benoit Tellier created JAMES-2965:
-------------------------------------

             Summary: Unable to use CLI reIndexing with Spring and Lucene
                 Key: JAMES-2965
                 URL: https://issues.apache.org/jira/browse/JAMES-2965
             Project: James Server
          Issue Type: Improvement
          Components: CLI, mailbox, Spring Container
    Affects Versions: master
            Reporter: Benoit Tellier



mailbox-tools.xml defines:

{code:xml}
    <bean id ="fake-reindexer" class="org.apache.mailbox.tools.indexer.ThrowsReIndexer" lazy-init="true"/>
{code}

As the indexer is configurable, we are not able to inject the ListeningMessageSearchIndex for doing that.

We may need aditional logic upon the indexer choice for providing the correct reIndexer binding:
 - keep the throwing one when lucene is not selected
 - Use ReIndexerImpl with luceneSearchIndex injected in it when lucene is configured.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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