Lucene.Net
3.0.3
Lucene.Net is a .NET port of the Java Lucene Indexing Library
|
Go to the source code of this file.
Classes | |
class | Lucene.Net.Spatial.BBox.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... | |
Namespaces | |
package | Lucene.Net.Spatial.BBox |