Method GetWeightedSpanTerms
GetWeightedSpanTerms(Query, TokenStream)
Creates an
Declaration
public virtual IDictionary<string, WeightedSpanTerm> GetWeightedSpanTerms(Query query, TokenStream tokenStream)
Parameters
Type | Name | Description |
---|---|---|
Query | query | |
TokenStream | tokenStream |
Returns
Type | Description |
---|---|
IDictionary<System.String, WeightedSpanTerm> | Map containing WeightedSpanTerms |
GetWeightedSpanTerms(Query, TokenStream, String)
Creates an
Declaration
public virtual IDictionary<string, WeightedSpanTerm> GetWeightedSpanTerms(Query query, TokenStream tokenStream, string fieldName)
Parameters
Type | Name | Description |
---|---|---|
Query | query | |
TokenStream | tokenStream | |
System.String | fieldName | restricts Term's used based on field name |
Returns
Type | Description |
---|---|
IDictionary<System.String, WeightedSpanTerm> | Map containing WeightedSpanTerms |