Class ComplexPhraseQueryParser.ComplexPhraseQuery
Used to handle the query content in between quotes and produced Span-based
interpretations of the clauses.
Inheritance
System.Object
ComplexPhraseQueryParser.ComplexPhraseQuery
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: Lucene.Net.QueryParser.dll
Syntax
public class ComplexPhraseQuery : Query
Constructors
|
Improve this Doc
View Source
ComplexPhraseQuery(String, String, Int32, Boolean)
Declaration
public ComplexPhraseQuery(string field, string phrasedQueryStringContents, int slopFactor, bool inOrder)
Parameters
Type |
Name |
Description |
System.String |
field |
|
System.String |
phrasedQueryStringContents |
|
System.Int32 |
slopFactor |
|
System.Boolean |
inOrder |
|
Properties
|
Improve this Doc
View Source
Field
Declaration
public string Field { get; }
Property Value
Type |
Description |
System.String |
|
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
ParsePhraseElements(ComplexPhraseQueryParser)
Declaration
protected void ParsePhraseElements(ComplexPhraseQueryParser qp)
Parameters
|
Improve this Doc
View Source
Rewrite(IndexReader)
Declaration
public override Query Rewrite(IndexReader reader)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
ToString(String)
Declaration
public override string ToString(string field)
Parameters
Type |
Name |
Description |
System.String |
field |
|
Returns
Type |
Description |
System.String |
|
Overrides