lszskye commented on code in PR #490:
URL: https://github.com/apache/paimon-cpp/pull/490#discussion_r4466149136


##########
include/paimon/file_index/file_index_reader.h:
##########
@@ -42,8 +44,18 @@ struct FullTextMatch;
 /// of the indexed data; otherwise, index filtering results may be incorrect.
 class PAIMON_EXPORT FileIndexReader : public 
FunctionVisitor<std::shared_ptr<FileIndexResult>> {
  public:
+    enum class SearchType { FULL_TEXT_MATCH, FULL_TEXT_SEARCH, VECTOR_SEARCH };
+

Review Comment:
   This enum describes the operations a file index reader supports. 
FULL_TEXT_MATCH remains a predicate function; its presence here allows 
GetSearchReader() to identify a backend capable of evaluating that predicate.



-- 
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]

Reply via email to