Method AvgFieldLength
AvgFieldLength(CollectionStatistics)
The default implementation computes the average as sumTotalTermFreq / maxDoc
,
or returns 1
if the index does not store sumTotalTermFreq (Lucene 3.x indexes
or any field that omits frequency information).
Declaration
protected virtual float AvgFieldLength(CollectionStatistics collectionStats)
Parameters
Type | Name | Description |
---|---|---|
CollectionStatistics | collectionStats |
Returns
Type | Description |
---|---|
System.Single |