Class MinHashQParser

  • public class MinHashQParser
    extends QParser
    The query parser can be used in two modes 1) where text is analysed and generates min hashes as part of normal lucene analysis 2) where text is pre-analysed and hashes are added as string to the index An analyzer can still be defined to support text based query against the text field

    Options: sim - required similary - default is 1 tp - required true positive rate - default is 1 field - when providing text the analyser for this field is used to generate the finger print sep - a separator for provided hashes analyzer_field - the field to use for for analysing suppplied text - if not supplied defaults to field

    • Constructor Detail

      • MinHashQParser

        public MinHashQParser​(String qstr,
                              org.apache.solr.common.params.SolrParams localParams,
                              org.apache.solr.common.params.SolrParams params,
                              SolrQueryRequest req)
    • Method Detail

      • parse

        public parse()
                                             throws SyntaxError
        Description copied from class: QParser
        Create and return the Query object represented by qstr. Null MAY be returned to signify there was no input (e.g. no query string) to parse.
        Specified by:
        parse in class QParser
        See Also: