Class GeneNameQueries
- java.lang.Object
-
- de.julielab.gene.candidateretrieval.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 Summary
Constructors Constructor Description GeneNameQueries()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apache.lucene.search.QuerymakeBooleanQuery(String searchString, String field, org.apache.lucene.search.BooleanClause.Occur occur, int numAllowedNotToMatch)
-
-
-
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
-
-