hanahmily commented on code in PR #505:
URL: 
https://github.com/apache/skywalking-banyandb/pull/505#discussion_r1704700217


##########
pkg/index/inverted/query.go:
##########
@@ -49,30 +49,22 @@ type GlobalIndexError struct {
 
 func (g GlobalIndexError) Error() string { return g.IndexRule.String() }
 
+var _ index.Query = (*Query)(nil)
+
 // Query is a wrapper for bluge.Query.
 type Query struct {

Review Comment:
   Do you need to expose this type since its operations are wrapped by the 
`index.Query`?



-- 
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: notifications-unsubscr...@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to