Method GetTerms
GetTerms(Query)
Extracts all terms texts of a given
Declaration
public static WeightedTerm[] GetTerms(Query query)
Parameters
Type | Name | Description |
---|---|---|
Query | query |
Returns
Type | Description |
---|---|
WeightedTerm[] | an array of the terms used in a query, plus their weights. |
GetTerms(Query, Boolean, String)
Extracts all terms texts of a given
Declaration
public static WeightedTerm[] GetTerms(Query query, bool prohibited, string fieldName)
Parameters
Type | Name | Description |
---|---|---|
Query | query | |
System.Boolean | prohibited |
|
System.String | fieldName | The fieldName used to filter query terms |
Returns
Type | Description |
---|---|
WeightedTerm[] | an array of the terms used in a query, plus their weights. |
GetTerms(Query, Boolean)
Extracts all terms texts of a given
Declaration
public static WeightedTerm[] GetTerms(Query query, bool prohibited)
Parameters
Type | Name | Description |
---|---|---|
Query | query | |
System.Boolean | prohibited |
|
Returns
Type | Description |
---|---|
WeightedTerm[] | an array of the terms used in a query, plus their weights. |