Package com.lucidworks.apollo.component
Class AnnotationIndexingUtils
java.lang.Object
com.lucidworks.apollo.component.AnnotationIndexingUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontoPreAnalyzedField(com.lucidworks.apollo.common.models.nlp.AnnotatedText annotatedText, boolean sentenceMultiValued) Convert AnnotatedField to Solr's PreAnalyzedField JSON format.
-
Constructor Details
-
AnnotationIndexingUtils
public AnnotationIndexingUtils()
-
-
Method Details
-
toPreAnalyzedField
public static List<String> toPreAnalyzedField(com.lucidworks.apollo.common.models.nlp.AnnotatedText annotatedText, boolean sentenceMultiValued) Convert AnnotatedField to Solr's PreAnalyzedField JSON format. See https://lucene.apache.org/solr/guide/6_6/working-with-external-files-and-processes.html#WorkingwithExternalFilesandProcesses-ThePreAnalyzedFieldType
-