Class GeneNameQueries


  • public class GeneNameQueries
    extends Object

    This class creates different forms of Lucene queries for the retrieval of gene record matching an input gene name.

    The methods of this class are used by subclassed of QueryGenerator.

    • Constructor Detail

      • GeneNameQueries

        public GeneNameQueries()
    • Method Detail

      • makeBooleanQuery

        public static org.apache.lucene.search.Query makeBooleanQuery​(String searchString,
                                                                      String field,
                                                                      org.apache.lucene.search.BooleanClause.Occur occur,
                                                                      int numAllowedNotToMatch)
                                                               throws org.apache.lucene.search.BooleanQuery.TooManyClauses
        Throws:
        org.apache.lucene.search.BooleanQuery.TooManyClauses