Class ComplexPhraseQueryParser.ComplexPhraseQuery
Used to handle the query content in between quotes and produced Span-based interpretations of the clauses.
Inheritance
System.Object
Lucene.Net.Search.Query
ComplexPhraseQueryParser.ComplexPhraseQuery
Inherited Members
Lucene.Net.Search.Query.Boost
Lucene.Net.Search.Query.ToString()
Lucene.Net.Search.Query.CreateWeight(Lucene.Net.Search.IndexSearcher)
Lucene.Net.Search.Query.Clone()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Lucene.Net.QueryParsers.ComplexPhrase
Assembly: Lucene.Net.QueryParser.dll
Syntax
public class ComplexPhraseQuery : Query
Constructors
| Improve this Doc View SourceComplexPhraseQuery(String, String, Int32, Boolean)
Declaration
public ComplexPhraseQuery(string field, string phrasedQueryStringContents, int slopFactor, bool inOrder)
Parameters
Type | Name | Description |
---|---|---|
System. |
field | |
System. |
phrasedQueryStringContents | |
System. |
slopFactor | |
System. |
inOrder |
Properties
| Improve this Doc View SourceField
Declaration
public string Field { get; }
Property Value
Type | Description |
---|---|
System. |
Methods
| Improve this Doc View SourceEquals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System. |
obj |
Returns
Type | Description |
---|---|
System. |
Overrides
| Improve this Doc View SourceGetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System. |
Overrides
Lucene.Net.Search.Query.GetHashCode()
|
Improve this Doc
View Source
ParsePhraseElements(ComplexPhraseQueryParser)
Declaration
protected void ParsePhraseElements(ComplexPhraseQueryParser qp)
Parameters
Type | Name | Description |
---|---|---|
Complex |
qp |
Rewrite(IndexReader)
Declaration
public override Query Rewrite(IndexReader reader)
Parameters
Type | Name | Description |
---|---|---|
Lucene. |
reader |
Returns
Type | Description |
---|---|
Lucene. |
Overrides
Lucene.Net.Search.Query.Rewrite(Lucene.Net.Index.IndexReader)
|
Improve this Doc
View Source
ToString(String)
Declaration
public override string ToString(string field)
Parameters
Type | Name | Description |
---|---|---|
System. |
field |
Returns
Type | Description |
---|---|
System. |