[jira] [Closed] (JAMES-4082) Lucene message search - support search attachment

"Benoit Tellier (Jira)" <[email protected]>
Newsgroups gmane.comp.jakarta.james.devel
Message-ID <[email protected]>
     [ https://issues.apache.org/jira/browse/JAMES-4082?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benoit Tellier closed JAMES-4082.
---------------------------------
    Resolution: Fixed

> Lucene message search - support search attachment
> -------------------------------------------------
>
>                 Key: JAMES-4082
>                 URL: https://issues.apache.org/jira/browse/JAMES-4082
>             Project: James Server
>          Issue Type: Improvement
>            Reporter: Tung TRAN
>            Priority: Minor
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> Currently, LuceneMessageSearchIndex does not support `SearchCapabilities.AttachmentFileName` and `SearchCapabilities.Attachment`. We can attempt to use TextExtractor for this, similar to the approach taken by Opensearch. 
>  
> Dod
> Pass test cases:
>  
> {code:java}
> - LuceneMessageSearchIndexTest>AbstractMessageSearchIndexTest.searchShouldRetrieveMailByAttachmentFileName
> -LuceneMessageSearchIndexTest>AbstractMessageSearchIndexTest.searchWithPDFAttachmentShouldReturnMailsWhenAttachmentContentMatches  
> -LuceneMessageSearchIndexTest>AbstractMessageSearchIndexTest.searchWithTextAttachmentShouldNotMatchMessageBody
> -LuceneMessageSearchIndexTest>AbstractMessageSearchIndexTest.searchWithTextAttachmentShouldReturnMailsWhenAttachmentContentMatches{code}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.