MCPcopy
hub / github.com/opencloud-eu/opencloud / Extractor

Interface Extractor

services/search/pkg/content/extractor.go:12–14  ·  view source on GitHub ↗

Extractor is responsible to extract content and meta information from documents.

Source from the content-addressed store, hash-verified

10
11// Extractor is responsible to extract content and meta information from documents.
12type Extractor interface {
13 Extract(ctx context.Context, ri *provider.ResourceInfo) (Document, error)
14}
15
16func getFirstValue(m map[string][]string, key string) (string, error) {
17 if m == nil {

Callers 7

BuildGRPCServiceFunction · 0.65
BuildHTTPServiceFunction · 0.65
TraceContextFunction · 0.65
doUpsertItemMethod · 0.65
tika_test.goFile · 0.65
ExtractMethod · 0.65
basic_test.goFile · 0.65

Implementers 4

Basicservices/search/pkg/content/basic.go
Tikaservices/search/pkg/content/tika.go
Extractorservices/search/pkg/content/mocks/extr
Extractor_Expecterservices/search/pkg/content/mocks/extr

Calls

no outgoing calls

Tested by

no test coverage detected