org.apache.lucene.queryParser.surround.query

Class SrndQuery

public abstract class SrndQuery extends Object implements Cloneable

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.
Field Summary
static QuerytheEmptyLcnQuery
Constructor Summary
SrndQuery()
Method Summary
Objectclone()
floatgetWeight()
StringgetWeightOperator()
StringgetWeightString()
booleanisFieldsSubQueryAcceptable()
booleanisWeighted()
QuerymakeLuceneQueryField(String fieldName, BasicQueryFactory qf)
abstract QuerymakeLuceneQueryFieldNoBoost(String fieldName, BasicQueryFactory qf)
voidsetWeight(float w)
abstract StringtoString()
protected voidweightToString(StringBuffer r)

Field Detail

theEmptyLcnQuery

public static final Query theEmptyLcnQuery

Constructor Detail

SrndQuery

public SrndQuery()

Method Detail

clone

public Object clone()

getWeight

public float getWeight()

getWeightOperator

public String getWeightOperator()

getWeightString

public String getWeightString()

isFieldsSubQueryAcceptable

public boolean isFieldsSubQueryAcceptable()

isWeighted

public boolean isWeighted()

makeLuceneQueryField

public Query makeLuceneQueryField(String fieldName, BasicQueryFactory qf)

makeLuceneQueryFieldNoBoost

public abstract Query makeLuceneQueryFieldNoBoost(String fieldName, BasicQueryFactory qf)

setWeight

public void setWeight(float w)

toString

public abstract String toString()

weightToString

protected void weightToString(StringBuffer r)
Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.