Interface SolrFragmenter

    • Method Detail

      • init

        void init​(NamedList args)
        init will be called just once, immediately after creation.

        The args are user-level initialization parameters that may be specified when declaring a request handler in solrconfig.xml

        Specified by:
        init in interface NamedListInitializedPlugin
      • getFragmenter

        org.apache.lucene.search.highlight.Fragmenter getFragmenter​(String fieldName,
                                                                    SolrParams params)
        Return a Fragmenter appropriate for this field.
        Parameters:
        fieldName - The name of the field
        params - The params controlling Highlighting
        Returns:
        An appropriate Fragmenter.