helma.Search.Query
Object
|
+--helma.Search.Query
-
Direct Known Subclasses:
-
helma.Search.WildcardQuery, helma.Search.FuzzyQuery, helma.Search.BooleanQuery, helma.Search.PrefixQuery, helma.Search.PhraseQuery, helma.Search.TermQuery, helma.Search.RangeQuery
Base class for the various query constructors. Don't
call this directly, as it provides just basic methods used
in all of its extends.
Defined in Search.js
|
Methods Summary |
Number
|
getBoost()
Returns the boost factor of this query.
|
org.apache.lucene.search.Query
|
getQuery()
Returns the wrapped Lucene Query object.
|
void
|
setBoost(<Number> fact)
Sets the boost factor of this query clause to
the given number.
|
helma.Search.Query
helma.Search.Query()
Creates a new instance of helma.Search.Query
getBoost
Number getBoost()
Returns the boost factor of this query.
getQuery
org.apache.lucene.search.Query getQuery()
Returns the wrapped Lucene Query object.
setBoost
void setBoost(<Number> fact)
Sets the boost factor of this query clause to
the given number. Documents matching this query
will have their score multiplied with the given
factor
Parameters:
fact - The factor to multiply the score of matching documents with.
Documentation generated by
JSDoc on Thu Apr 5 01:59:00 2007