aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/main/java/com/yahoo/vespa/model/search/IndexingProcessor.java
blob: 546051f2951904098b40b4869e64f434c484cee5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.model.search;

import com.yahoo.container.bundle.BundleInstantiationSpecification;
import com.yahoo.component.ComponentId;
import com.yahoo.component.ComponentSpecification;
import com.yahoo.component.chain.dependencies.Dependencies;
import com.yahoo.vespa.model.container.docproc.DocumentProcessor;
import com.yahoo.vespa.model.container.docproc.model.DocumentProcessorModel;

import java.util.HashMap;
import java.util.List;

/**
 * @author Einar M R Rosenvinge
 */
public class IndexingProcessor extends DocumentProcessor {

    public static final String docprocsBundleSpecification = "docprocs";

    public IndexingProcessor() {
        super(new DocumentProcessorModel(new BundleInstantiationSpecification(new ComponentId(DocumentProcessor.INDEXER),
                                                                              new ComponentSpecification(DocumentProcessor.INDEXER),
                                                                              new ComponentSpecification(docprocsBundleSpecification)),
                                         new Dependencies(List.of(), List.of(), List.of()),
                                         new HashMap<>()));
    }

}