Class LTRQParserPlugin

    • Field Detail

      • MODEL

        public static final String MODEL
        query parser plugin: the name of the attribute for setting the model
        See Also:
        Constant Field Values
      • DEFAULT_RERANK_DOCS

        public static final int DEFAULT_RERANK_DOCS
        query parser plugin: default number of documents to rerank
        See Also:
        Constant Field Values
      • RERANK_DOCS

        public static final String RERANK_DOCS
        query parser plugin:the param that will select how the number of document to rerank
        See Also:
        Constant Field Values
      • DEFAULT_INTERLEAVING_ALGORITHM

        public static final String DEFAULT_INTERLEAVING_ALGORITHM
        query parser plugin: default interleaving algorithm
        See Also:
        Constant Field Values
      • INTERLEAVING_ALGORITHM

        public static final String INTERLEAVING_ALGORITHM
        query parser plugin:the param that selects the interleaving algorithm to use
        See Also:
        Constant Field Values
    • Constructor Detail

      • LTRQParserPlugin

        public LTRQParserPlugin()
    • Method Detail

      • extractEFIParams

        public static Map<String,​String[]> extractEFIParams​(org.apache.solr.common.params.SolrParams localParams)
        Given a set of local SolrParams, extract all of the efi.key=value params into a map
        Parameters:
        localParams - Local request parameters that might conatin efi params
        Returns:
        Map of efi params, where the key is the name of the efi param, and the value is the value of the efi param
      • inform

        public void inform​(org.apache.lucene.util.ResourceLoader loader)
                    throws IOException
        Specified by:
        inform in interface org.apache.lucene.util.ResourceLoaderAware
        Throws:
        IOException