Class FieldQuery
FieldQuery breaks down query object into terms/phrases and keeps them in a FieldQuery.QueryPhraseMap structure.
Inherited Members
Namespace: Lucene.Net.Search.VectorHighlight
Assembly: Lucene.Net.Highlighter.dll
Syntax
public class FieldQuery
Methods
ApplyParentBoost(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 |
|---|---|---|
| Query | query | |
| Query | parent |
Returns
| Type | Description |
|---|---|
| Query |
GetFieldTermMap(string, string)
FieldQuery breaks down query object into terms/phrases and keeps them in a FieldQuery.QueryPhraseMap structure.
Declaration
public virtual FieldQuery.QueryPhraseMap GetFieldTermMap(string fieldName, string term)
Parameters
| Type | Name | Description |
|---|---|---|
| string | fieldName | |
| string | term |
Returns
| Type | Description |
|---|---|
| FieldQuery.QueryPhraseMap | QueryPhraseMap |
SearchPhrase(string, IList<TermInfo>)
FieldQuery breaks down query object into terms/phrases and keeps them in a FieldQuery.QueryPhraseMap structure.
Declaration
public virtual FieldQuery.QueryPhraseMap SearchPhrase(string fieldName, IList<FieldTermStack.TermInfo> phraseCandidate)
Parameters
| Type | Name | Description |
|---|---|---|
| string | fieldName | |
| IList<FieldTermStack.TermInfo> | phraseCandidate |
Returns
| Type | Description |
|---|---|
| FieldQuery.QueryPhraseMap | QueryPhraseMap |