vttranlina opened a new pull request, #2476: URL: https://github.com/apache/james-project/pull/2476
resolve https://github.com/linagora/james-project/issues/5306 jira: https://issues.apache.org/jira/browse/JAMES-4082 My idea: - In the `opensearch` module, it contains almost api for indexing, that can be reused for `lucene` eg: ``` import org.apache.james.mailbox.opensearch.json.HeaderCollection; import org.apache.james.mailbox.opensearch.json.MimePart; import org.apache.james.mailbox.opensearch.json.MimePartParser; ``` With the supported API, using `TextExtractor` for attachment indexing will be easier. - In this PR, I also reworked and cleaned up the `LuceneMessageSearchIndex#createMessageDocument` method, which has had excessive boilerplate since 2015. -- 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