Class Overview
Creates PrefixQuery instances that doesn't rewrite into a BooleanQuery with all matching
TermQuery terms in the field. This query returns a constant score equal
to its boost for all documents with the matching prefix term.
This can be significantly cheaper and faster if there are a lot of matching terms.
It is very slightly slower if the number of matched terms is one or two.
See Also
- http://jira.atlassian.com/browse/JRA-17623
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Public Constructors
public
ConstantScorePrefixQuery
()
Public Methods