Lucene.Net
3.0.3
Lucene.Net is a port of the Lucene search engine library, written in C# and targeted at .NET runtime users.
|
An implementation of the Lucene ValueSource model to support spatial relevance ranking. More...
Inherits Lucene.Net.Search.Function.ValueSource.
Classes | |
class | CachedDistanceDocValues |
Public Member Functions | |
ShapeFieldCacheDistanceValueSource (SpatialContext ctx, ShapeFieldCacheProvider< Point > provider, Point from) | |
override DocValues | GetValues (IndexReader reader) |
Return the DocValues used by the function query. | |
override string | Description () |
description of field, used in explain() | |
override bool | Equals (object o) |
override int | GetHashCode () |
Needed for possible caching of query results - used by ValueSourceQuery.GetHashCode(). | |
Public Member Functions inherited from Lucene.Net.Search.Function.ValueSource | |
override System.String | ToString () |
abstract override bool | Equals (System.Object o) |
Needed for possible caching of query results - used by ValueSourceQuery.Equals(Object). | |
An implementation of the Lucene ValueSource model to support spatial relevance ranking.
Definition at line 30 of file ShapeFieldCacheDistanceValueSource.cs.
Lucene.Net.Spatial.Util.ShapeFieldCacheDistanceValueSource.ShapeFieldCacheDistanceValueSource | ( | SpatialContext | ctx, |
ShapeFieldCacheProvider< Point > | provider, | ||
Point | from | ||
) |
Definition at line 36 of file ShapeFieldCacheDistanceValueSource.cs.
|
virtual |
description of field, used in explain()
Implements Lucene.Net.Search.Function.ValueSource.
Definition at line 92 of file ShapeFieldCacheDistanceValueSource.cs.
override bool Lucene.Net.Spatial.Util.ShapeFieldCacheDistanceValueSource.Equals | ( | object | o | ) |
Definition at line 97 of file ShapeFieldCacheDistanceValueSource.cs.
|
virtual |
Needed for possible caching of query results - used by ValueSourceQuery.GetHashCode().
Implements Lucene.Net.Search.Function.ValueSource.
Definition at line 111 of file ShapeFieldCacheDistanceValueSource.cs.
|
virtual |
Return the DocValues used by the function query.
reader | the IndexReader used to read these values. If any caching is involved, that caching would also be IndexReader based. |
<throws> IOException for any error. </throws>
Implements Lucene.Net.Search.Function.ValueSource.
Definition at line 87 of file ShapeFieldCacheDistanceValueSource.cs.