Class PrefixQuery
Inheritance
System.Object
PrefixQuery
Assembly: Lucene.Net.dll
Syntax
public class PrefixQuery : MultiTermQuery
Constructors
|
Improve this Doc
View Source
PrefixQuery(Term)
Constructs a query for terms starting with prefix
.
Declaration
public PrefixQuery(Term prefix)
Parameters
Type |
Name |
Description |
Term |
prefix |
|
Properties
|
Improve this Doc
View Source
Prefix
Returns the prefix of this query.
Declaration
public virtual Term Prefix { get; }
Property Value
Methods
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
|
Improve this Doc
View Source
GetTermsEnum(Terms, AttributeSource)
Declaration
protected override TermsEnum GetTermsEnum(Terms terms, AttributeSource atts)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
ToString(String)
Prints a user-readable version of this query.
Declaration
public override string ToString(string field)
Parameters
Type |
Name |
Description |
System.String |
field |
|
Returns
Type |
Description |
System.String |
|
Overrides