Class AnnotationIndexingUtils

java.lang.Object
com.lucidworks.apollo.component.AnnotationIndexingUtils

public class AnnotationIndexingUtils extends Object
  • 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