org.apache.lucene.queryParser.surround.query

Class SrndQuery

Implemented Interfaces:
Cloneable
Known Direct Subclasses:
ComposedQuery, FieldsQuery, SimpleTerm

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 Query
theEmptyLcnQuery

Constructor Summary

SrndQuery()

Method Summary

Object
clone()
float
getWeight()
String
getWeightOperator()
String
getWeightString()
boolean
isFieldsSubQueryAcceptable()
boolean
isWeighted()
Query
makeLuceneQueryField(String fieldName, BasicQueryFactory qf)
abstract Query
makeLuceneQueryFieldNoBoost(String fieldName, BasicQueryFactory qf)
void
setWeight(float w)
abstract String
toString()
protected void
weightToString(StringBuffer r)

Field Details

theEmptyLcnQuery

public static final Query theEmptyLcnQuery

Constructor Details

SrndQuery

public SrndQuery()

Method Details

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.