MCPcopy Create free account
hub / github.com/git-bug/git-bug / IndexOne

Method IndexOne

repository/repo.go:99–99  ·  view source on GitHub ↗

IndexOne indexes one document, for the given ID. If the document already exist, it replaces it.

(id string, texts []string)

Source from the content-addressed store, hash-verified

97 // IndexOne indexes one document, for the given ID. If the document already exist,
98 // it replaces it.
99 IndexOne(id string, texts []string) error
100
101 // IndexBatch start a batch indexing. The returned indexer function is used the same
102 // way as IndexOne, and the closer function complete the batch insertion.

Callers 2

entityUpdatedMethod · 0.65
RepoIndexTestFunction · 0.65

Implementers 1

bleveIndexrepository/index_bleve.go

Calls

no outgoing calls

Tested by

no test coverage detected