org.apache.lucene.queryParser.surround.query

Class SimpleTerm

public abstract class SimpleTerm extends SrndQuery implements DistanceSubQuery, Comparable

Copyright 2005 The Apache Software Foundation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Nested Class Summary
interfaceSimpleTerm.MatchingTermVisitor
Constructor Summary
SimpleTerm(boolean q)
Method Summary
voidaddSpanQueries(SpanNearClauseFactory sncf)
intcompareTo(Object o)
StringdistanceSubQueryNotAllowed()
StringgetFieldOperator()
StringgetQuote()
QuerymakeLuceneQueryFieldNoBoost(String fieldName, BasicQueryFactory qf)
protected voidsuffixToString(StringBuffer r)
StringtoString()
abstract StringtoStringUnquoted()
abstract voidvisitMatchingTerms(IndexReader reader, String fieldName, SimpleTerm.MatchingTermVisitor mtv)

Constructor Detail

SimpleTerm

public SimpleTerm(boolean q)

Method Detail

addSpanQueries

public void addSpanQueries(SpanNearClauseFactory sncf)

compareTo

public int compareTo(Object o)

distanceSubQueryNotAllowed

public String distanceSubQueryNotAllowed()

getFieldOperator

public String getFieldOperator()

getQuote

public String getQuote()

makeLuceneQueryFieldNoBoost

public Query makeLuceneQueryFieldNoBoost(String fieldName, BasicQueryFactory qf)

suffixToString

protected void suffixToString(StringBuffer r)

toString

public String toString()

toStringUnquoted

public abstract String toStringUnquoted()

visitMatchingTerms

public abstract void visitMatchingTerms(IndexReader reader, String fieldName, SimpleTerm.MatchingTermVisitor mtv)
Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.