Class FieldQuery
FieldQuery breaks down query object into terms/phrases and keeps them in a FieldQuery.QueryPhraseMap structure.
Inheritance
System.Object
FieldQuery
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Search.VectorHighlight
Assembly: Lucene.Net.Highlighter.dll
Syntax
public class FieldQuery
Methods
| Improve this Doc View SourceApplyParentBoost(Query, Query)
Push parent's boost into a clone of query if parent has a non 1 boost.
Declaration
protected virtual Query ApplyParentBoost(Query query, Query parent)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Search.Query | query | |
Lucene.Net.Search.Query | parent |
Returns
Type | Description |
---|---|
Lucene.Net.Search.Query |
GetFieldTermMap(String, String)
Declaration
public virtual FieldQuery.QueryPhraseMap GetFieldTermMap(string fieldName, string term)
Parameters
Type | Name | Description |
---|---|---|
System.String | fieldName | |
System.String | term |
Returns
Type | Description |
---|---|
FieldQuery.QueryPhraseMap | QueryPhraseMap |
SearchPhrase(String, IList<FieldTermStack.TermInfo>)
Declaration
public virtual FieldQuery.QueryPhraseMap SearchPhrase(string fieldName, IList<FieldTermStack.TermInfo> phraseCandidate)
Parameters
Type | Name | Description |
---|---|---|
System.String | fieldName | |
System.Collections.Generic.IList<FieldTermStack.TermInfo> | phraseCandidate |
Returns
Type | Description |
---|---|
FieldQuery.QueryPhraseMap | QueryPhraseMap |