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

Method MakeDocumentMatchHandler

pindex_bleve_delete.go:51–58  ·  view source on GitHub ↗
(
	ctx *search.SearchContext)

Source from the content-addressed store, hash-verified

49}
50
51func (d *delByQueryHandler) MakeDocumentMatchHandler(
52 ctx *search.SearchContext) (search.DocumentMatchHandler, bool, error) {
53 dmh := docDelHandler{
54 delh: d,
55 batch: d.index.NewBatch(),
56 }
57 return dmh.documentMatchHandler, true, nil
58}
59
60// deleteByQuery triggers the given query for the index and
61// performs batched deletions for the hits synchronously in

Callers

nothing calls this directly

Calls 1

NewBatchMethod · 0.45

Tested by

no test coverage detected