Constructor
new WildcardQuery(field, str)
Constructs a new helma.Search.WildcardQuery instance.
Parameters:
Name | Type | Description |
---|---|---|
field |
String | The name of the field |
str |
String | The query string to match |
- Source:
Returns:
A newly created WildcardQuery instance
Extends
Members
query :org.apache.lucene.search.WildcardQuery
Contains the wrapped WildcardQuery instance
Type:
- org.apache.lucene.search.WildcardQuery
- Overrides:
- helma.Search.Query#query
- Source:
Methods
getBoost()
Returns the boost factor of this query.
- Inherited From:
- Source:
getQuery()
Returns the wrapped Lucene Query object.
- Inherited From:
- Source:
Returns:
The wrapped query object
setBoost(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:
Name | Type | Description |
---|---|---|
fact |
Number | The factor to multiply the score of matching documents with. |
- Inherited From:
- Source: