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

Unable to use CLI reIndexing with Spring and Lucene

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: master
    • Fix Version/s: None
    • Component/s: CLI, mailbox, Spring Container
    • Labels:

      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

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

              Dates

              • Created:
                Updated: