Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-2965

Unable to use CLI reIndexing with Spring and Lucene

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • master
    • None
    • CLI, mailbox, Spring Container

    Description

      mailbox-tools.xml defines:

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

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            btellier Benoit Tellier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: