chibenwa commented on code in PR #2476: URL: https://github.com/apache/james-project/pull/2476#discussion_r1827158945
########## mailbox/lucene/src/test/java/org/apache/james/mailbox/lucene/search/LuceneFSSearchHighLighterTest.java: ########## @@ -65,7 +66,7 @@ public void setUp(@TempDir Path tempPath) throws Exception { .listeningSearchIndex(Throwing.function(preInstanciationStage -> new LuceneMessageSearchIndex( preInstanciationStage.getMapperFactory(), new InMemoryId.Factory(), FSDirectory.open(tempPath), messageIdFactory, - preInstanciationStage.getSessionProvider()))) + preInstanciationStage.getSessionProvider(), new JsoupTextExtractor()))) Review Comment: Cool but it will likely create Spring issues, correct? We need to fixup spring injects as well (inject JsoupTextExtractor is enough?) -- 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