Skip to content

Commit

Permalink
new name, and OpenNLP is kind of a implmentation detail ;-).
Browse files Browse the repository at this point in the history
  • Loading branch information
epugh committed Oct 10, 2023
1 parent 48fd37b commit cecd4f6
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 OpenNLPDoccatUpdateProcessorFactory extends UpdateRequestProcessorFactory
public class DocumentCategorizationUpdateProcessorFactory 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 @@ -74,7 +74,7 @@ teardown() {
run curl -X POST -H 'Content-type:application/json' -d '{
"add-updateprocessor": {
"name": "sentimentClassifier",
"class": "solr.processor.OpenNLPDoccatUpdateProcessorFactory",
"class": "solr.processor.DocumentCategorizationUpdateProcessorFactory",
"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 cecd4f6

Please sign in to comment.