MCPcopy Create free account
hub / github.com/couchbase/cbft / fireQueryEvent

Function fireQueryEvent

pindex_bleve.go:1189–1194  ·  view source on GitHub ↗
(depth int, kind QueryEventKind, dur time.Duration, size uint64)

Source from the content-addressed store, hash-verified

1187}
1188
1189func fireQueryEvent(depth int, kind QueryEventKind, dur time.Duration, size uint64) error {
1190 if RegistryQueryEventCallback != nil {
1191 return RegistryQueryEventCallback(depth, QueryEvent{Kind: kind, Duration: dur}, size)
1192 }
1193 return nil
1194}
1195
1196func bleveCtxQueryStartCallback(size uint64) error {
1197 return fireQueryEvent(1, EventQueryStart, 0, size)

Callers 4

bleveCtxQueryEndCallbackFunction · 0.85
QueryBleveFunction · 0.85
SearchMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected