Class SolrFragmentsBuilder

    • Constructor Detail

      • SolrFragmentsBuilder

        public SolrFragmentsBuilder()
    • Method Detail

      • getFragmentsBuilder

        public org.apache.lucene.search.vectorhighlight.FragmentsBuilder getFragmentsBuilder​(org.apache.solr.common.params.SolrParams params,
                                                                                             org.apache.lucene.search.vectorhighlight.BoundaryScanner bs)
        Return a FragmentsBuilder appropriate for this field.
        Parameters:
        params - The params controlling Highlighting
        Returns:
        An appropriate FragmentsBuilder.
      • getPreTags

        public String[] getPreTags​(org.apache.solr.common.params.SolrParams params,
                                   String fieldName)
      • getPostTags

        public String[] getPostTags​(org.apache.solr.common.params.SolrParams params,
                                    String fieldName)
      • getFragmentsBuilder

        protected abstract org.apache.lucene.search.vectorhighlight.FragmentsBuilder getFragmentsBuilder​(org.apache.solr.common.params.SolrParams params,
                                                                                                         String[] preTags,
                                                                                                         String[] postTags,
                                                                                                         org.apache.lucene.search.vectorhighlight.BoundaryScanner bs)
      • getMultiValuedSeparatorChar

        protected char getMultiValuedSeparatorChar​(org.apache.solr.common.params.SolrParams params)