Lucene.Net  3.0.3
Lucene.Net is a .NET port of the Java Lucene Indexing Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties
Classes
Package Lucene.Net.Spatial.BBox

Classes

class  AreaSimilarity
 The algorithm is implemented as envelope on envelope overlays rather than complex polygon on complex polygon overlays. Spatial relevance scoring algorithm:
queryArea = the area of the input query envelope
targetArea = the area of the target envelope (per Lucene document)
intersectionArea = the area of the intersection for the query/target envelopes
queryPower = the weighting power associated with the query envelope (default = 1.0)
targetPower = the weighting power associated with the target envelope (default = 1.0)
queryRatio = intersectionArea / queryArea;
targetRatio = intersectionArea / targetArea;
queryFactor = Math.pow(queryRatio,queryPower);
targetFactor = Math.pow(targetRatio,targetPower);
score = queryFactor /// targetFactor; Based on Geoportal's SpatialRankingValueSource. More...
 
interface  BBoxSimilarity
 Abstraction of the calculation used to determine how similar two Bounding Boxes are. More...
 
class  BBoxSimilarityValueSource
 
class  BBoxStrategy
 
class  DistanceSimilarity
 Returns the distance between the center of the indexed rectangle and the query shape. More...