quantranhong1999 commented on code in PR #2442:
URL: https://github.com/apache/james-project/pull/2442#discussion_r1808080323
##########
mailbox/lucene/src/main/java/org/apache/james/mailbox/lucene/search/LuceneMessageSearchIndex.java:
##########
@@ -1052,7 +1054,7 @@ private Query createTextQuery(SearchQuery.TextCriterion
crit) throws Unsupported
queryBuilder.add(createTermQuery(HEADERS_FIELD,value),
BooleanClause.Occur.SHOULD);
return queryBuilder.build();
default:
- throw new UnsupportedSearchException();
+ return new BooleanQuery.Builder().build(); // TODO: Implement
Review Comment:
> Rightnow, LuceneMessageSearchIndex doen't support ATTACHMENTS searching
Maybe another ticket to add attachments index to Lucene and enable `jmap
query filter.body="keyword", then it implicit include query ATTACHMENTS + BODY
Text`?
--
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]