org.apache.lucene.queryParser.surround.query
Interface DistanceSubQuery
- All Known Implementing Classes:
- DistanceQuery, OrQuery, SimpleTerm
- public interface DistanceSubQuery
distanceSubQueryNotAllowed
public java.lang.String distanceSubQueryNotAllowed()
- When distanceSubQueryNotAllowed() returns non null, the reason why the subquery
is not allowed as a distance subquery is returned.
When distanceSubQueryNotAllowed() returns null addSpanNearQueries() can be used
in the creation of the span near clause for the subquery.
addSpanQueries
public void addSpanQueries(SpanNearClauseFactory sncf)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.