Method GetWeightedSpanTermsWithScores
GetWeightedSpanTermsWithScores(Query, TokenStream, String, IndexReader)
Creates an
Declaration
public virtual IDictionary<string, WeightedSpanTerm> GetWeightedSpanTermsWithScores(Query query, TokenStream tokenStream, string fieldName, IndexReader reader)
Parameters
Type | Name | Description |
---|---|---|
Query | query | |
TokenStream | tokenStream | |
System.String | fieldName | restricts Term's used based on field name |
IndexReader | reader | to use for scoring |
Returns
Type | Description |
---|---|
IDictionary<System.String, WeightedSpanTerm> | Map of WeightedSpanTerms with quasi tf/idf scores |