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: [email protected]
For additional commands, e-mail: [email protected]