chibenwa commented on code in PR #2442: URL: https://github.com/apache/james-project/pull/2442#discussion_r1801047630
########## server/container/guice/lucene/src/main/java/org/apache/james/modules/mailbox/LuceneMemorySearchMailboxModule.java: ########## @@ -21,15 +21,24 @@ import java.io.IOException; +import org.apache.james.mailbox.lucene.search.LuceneSearchHighlighter; +import org.apache.james.mailbox.searchhighligt.SearchHighlighter; import org.apache.lucene.store.ByteBuffersDirectory; import org.apache.lucene.store.Directory; import com.google.inject.AbstractModule; import com.google.inject.Provides; +import com.google.inject.Scopes; import com.google.inject.Singleton; public class LuceneMemorySearchMailboxModule extends AbstractModule { + @Override + protected void configure() { + bind(SearchHighlighter.class).to(LuceneSearchHighlighter.class) Review Comment: Is this specific to the memory implem? Or shall it land onto the LuceneBlahBlahModule? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For additional commands, e-mail: notifications-h...@james.apache.org