Method | Description | |
---|---|---|
GetTokenScore ( ) : float | ||
GetWeightedSpanTerm ( String token ) : |
Retrieve the WeightedSpanTerm for the specified token. Useful for passing Span information to a IFragmenter.
|
|
Init ( |
||
QueryScorer ( Query query ) : System |
Constructs a new QueryScorer instance
|
|
QueryScorer ( Query query, |
Constructs a new QueryScorer instance
|
|
QueryScorer ( Query query, |
Constructs a new QueryScorer instance
|
|
QueryScorer ( Query query, String field ) : System |
Constructs a new QueryScorer instance
|
|
QueryScorer ( Query query, String field, String defaultField ) : System |
Constructs a new QueryScorer instance
|
|
QueryScorer ( |
Constructs a new QueryScorer instance
|
|
SetWrapIfNotCachingTokenFilter ( bool wrap ) : void |
By default, TokenStreams that are not of the type CachingTokenFilter are wrapped in a CachingTokenFilter to ensure an efficient reset - if you are already using a different caching TokenStream impl and you don't want it to be wrapped, set this to false.
|
|
StartFragment ( Lucene.Net.Search.Highlight.TextFragment newFragment ) : void |
Method | Description | |
---|---|---|
Init ( Query query, String field, |
||
InitExtractor ( |
public GetWeightedSpanTerm ( String token ) : |
||
token | String | token to get {@link WeightedSpanTerm} for |
return |
public Init ( |
||
tokenStream | ||
return |
public QueryScorer ( Query query ) : System | ||
query | Query | Query to use for highlighting |
return | System |
public QueryScorer ( Query query, |
||
query | Query | Query to use for highlighting |
reader | ||
field | String | Field to highlight - pass null to ignore fields |
return | System |
public QueryScorer ( Query query, |
||
query | Query | Query to use for highlighting |
reader | ||
field | String | Field to highlight - pass null to ignore fields |
defaultField | String | The default field for queries with the field name unspecified |
return | System |
public QueryScorer ( Query query, String field ) : System | ||
query | Query | Query to use for highlighting |
field | String | Field to highlight - pass null to ignore fields |
return | System |
public QueryScorer ( Query query, String field, String defaultField ) : System | ||
query | Query | Query to use for highlighting |
field | String | Field to highlight - pass null to ignore fields |
defaultField | String | The default field for queries with the field name unspecified |
return | System |
public QueryScorer ( |
||
weightedTerms | an array of pre-created |
|
return | System |
public SetWrapIfNotCachingTokenFilter ( bool wrap ) : void | ||
wrap | bool | |
return | void |
public StartFragment ( Lucene.Net.Search.Highlight.TextFragment newFragment ) : void | ||
newFragment | Lucene.Net.Search.Highlight.TextFragment | |
return | void |