Skip to content

Commit

Permalink
match name in the underlying OpenNLP project. bikeshedding!
Browse files Browse the repository at this point in the history
  • Loading branch information
epugh committed Oct 10, 2023
1 parent dd4cc89 commit af18d0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class DocumentCategorizationUpdateProcessorFactory extends UpdateRequestProcessorFactory
public class DocumentCategorizerUpdateProcessorFactory extends UpdateRequestProcessorFactory
implements SolrCoreAware {

private static final Logger log = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
Expand Down
2 changes: 1 addition & 1 deletion solr/packaging/test/test_opennlp.bats
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ teardown() {
run curl -X POST -H 'Content-type:application/json' -d '{
"add-updateprocessor": {
"name": "sentimentClassifier",
"class": "solr.processor.DocumentCategorizationUpdateProcessorFactory",
"class": "solr.processor.DocumentCategorizerUpdateProcessorFactory",
"modelFile": "/Users/epugh/Documents/projects/solr-epugh/exported/model.onnx",
"vocabFile": "/Users/epugh/Documents/projects/solr-epugh/exported/vocab.txt",
"source": "name",
Expand Down

0 comments on commit af18d0c

Please sign in to comment.