|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lucene.search.function.ValueSource com.esri.gpt.catalog.lucene.SpatialRankingValueSource
public class SpatialRankingValueSource
An implementation of the Lucene ValueSource model to support spatial relevance ranking.
The algorithm is implemented as envelope on envelope overlays rather than complex polygon on complex polygon overlays. Spatial relevance scoring algorithm:
Constructor Summary | |
---|---|
SpatialRankingValueSource(Envelope queryEnvelope,
double queryPower,
double targetPower)
Constructor. |
Method Summary | |
---|---|
String |
description()
Returns the ValueSource description. |
boolean |
equals(Object o)
Determines if this ValueSource is equal to another. |
String |
getDelimiterQueryParameters()
Returns the delimited query parameters. |
DocValues |
getValues(IndexReader reader)
Returns the DocValues used by the function query. |
int |
hashCode()
Returns the ValueSource hash code. |
Methods inherited from class org.apache.lucene.search.function.ValueSource |
---|
toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SpatialRankingValueSource(Envelope queryEnvelope, double queryPower, double targetPower)
queryEnvelope
- the query envelopequeryPower
- the query power (scoring algorithm)targetPower
- the target power (scoring algorithm)Method Detail |
---|
public String description()
description
in class ValueSource
public boolean equals(Object o)
equals
in class ValueSource
o
- the ValueSource to compare
true
if the two objects are based upon the same query envelopepublic String getDelimiterQueryParameters()
public DocValues getValues(IndexReader reader) throws IOException
getValues
in class ValueSource
reader
- the index reader
IOException
public int hashCode()
hashCode
in class ValueSource
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |