Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SearchSnippet] Add Lucene support for attachment search #5306

Open
vttranlina opened this issue Oct 22, 2024 · 3 comments · May be fixed by apache/james-project#2476
Open

[SearchSnippet] Add Lucene support for attachment search #5306

vttranlina opened this issue Oct 22, 2024 · 3 comments · May be fixed by apache/james-project#2476
Assignees

Comments

@vttranlina
Copy link
Member

vttranlina commented Oct 22, 2024

Currently, LuceneMessageSearchIndex does not support search by attachment text body.

Code : org.apache.james.mailbox.lucene.search.LuceneMessageSearchIndex#createTextQuery

This support will enhance SearchSnippet/get for body text searches using Lucene. Refer to: apache#2442 (comment)

@vttranlina
Copy link
Member Author

We can refer to the MessageToOpenSearchJson class, which uses TextExtractor to extract text from attachments and index it.

@vttranlina
Copy link
Member Author

jira ticket relate: JAMES-4082

@vttranlina
Copy link
Member Author

wip apache#2476

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant