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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to