com.senseidb.search.node.impl
Class SimpleQueryBuilder

java.lang.Object
  extended by com.senseidb.search.node.impl.SimpleQueryBuilder
All Implemented Interfaces:
SenseiQueryBuilder

public class SimpleQueryBuilder
extends Object
implements SenseiQueryBuilder


Field Summary
protected  org.apache.lucene.search.Filter _filter
           
protected  org.apache.lucene.search.Query _query
           
 
Constructor Summary
SimpleQueryBuilder(SenseiQuery query, org.apache.lucene.queryParser.QueryParser parser)
           
 
Method Summary
 org.apache.lucene.search.Filter buildFilter()
           
 org.apache.lucene.search.Query buildQuery()
           
protected  void doBuild(SenseiQuery query, org.apache.lucene.queryParser.QueryParser parser)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_query

protected org.apache.lucene.search.Query _query

_filter

protected org.apache.lucene.search.Filter _filter
Constructor Detail

SimpleQueryBuilder

public SimpleQueryBuilder(SenseiQuery query,
                          org.apache.lucene.queryParser.QueryParser parser)
                   throws Exception
Throws:
Exception
Method Detail

doBuild

protected void doBuild(SenseiQuery query,
                       org.apache.lucene.queryParser.QueryParser parser)
                throws Exception
Throws:
Exception

buildQuery

public org.apache.lucene.search.Query buildQuery()
                                          throws org.apache.lucene.queryParser.ParseException
Specified by:
buildQuery in interface SenseiQueryBuilder
Throws:
org.apache.lucene.queryParser.ParseException

buildFilter

public org.apache.lucene.search.Filter buildFilter()
Specified by:
buildFilter in interface SenseiQueryBuilder


Copyright © 2010-2012. All Rights Reserved.