wu-sheng commented on code in PR #12633:
URL: https://github.com/apache/skywalking/pull/12633#discussion_r1771007028
##########
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/storage/annotation/BanyanDB.java:
##########
@@ -177,4 +177,34 @@ enum IndexType {
*/
int countersNumber() default 1000;
}
+
+ /**
+ * Match query is designed for BanyanDB match query with specific
analyzer. It is a fuzzy query implementation
+ * powered by analyzer.
+ *
+ * @since 10.1.0
+ */
+ @Target({ElementType.FIELD})
+ @Retention(RetentionPolicy.RUNTIME)
+ @interface MatchQuery {
+ AnalyzerType analyzer() default AnalyzerType.ANALYZER_SIMPLE;
Review Comment:
As @hanahmily is adding a more correct analyzer, I think we should consider
no default for this annotation.
--
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]