Skip to content

Commit

Permalink
fixup! JAMES-4077 Back memory-app with Lucene
Browse files Browse the repository at this point in the history
  • Loading branch information
vttranlina committed Oct 23, 2024
1 parent c656db1 commit 60879e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,6 @@ public org.apache.james.events.Group getDefaultGroup() {
@Override
public EnumSet<SearchCapabilities> getSupportedCapabilities(EnumSet<MailboxManager.MessageCapabilities> messageCapabilities) {
return EnumSet.of(SearchCapabilities.MultimailboxSearch,
SearchCapabilities.AttachmentFileName,
SearchCapabilities.HighlightSearch);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@
import com.google.inject.Scopes;
import com.google.inject.multibindings.Multibinder;
import com.google.inject.name.Names;
import com.google.inject.util.Modules;

public class MemoryMailboxModule extends AbstractModule {

Expand All @@ -97,7 +98,7 @@ protected void configure() {
install(new MemoryDeadLetterModule());
install(new MemoryQuotaModule());
install(new MemoryQuotaSearchModule());
install(new LuceneSearchMailboxModule());
install(Modules.override(new LuceneSearchMailboxModule()).with(new LuceneMemorySearchMailboxModule()));

bind(MessageMapperFactory.class).to(InMemoryMailboxSessionMapperFactory.class);
bind(MailboxMapperFactory.class).to(InMemoryMailboxSessionMapperFactory.class);
Expand Down

0 comments on commit 60879e8

Please sign in to comment.