public class HaversineConstFunction
extends org.apache.lucene.queries.function.ValueSource
Constructor and Description |
---|
HaversineConstFunction(double latCenter,
double lonCenter,
org.apache.lucene.queries.function.valuesource.VectorValueSource vs) |
Modifier and Type | Method and Description |
---|---|
void |
createWeight(Map context,
org.apache.lucene.search.IndexSearcher searcher) |
String |
description() |
boolean |
equals(Object o) |
org.apache.lucene.queries.function.FunctionValues |
getValues(Map context,
org.apache.lucene.index.LeafReaderContext readerContext) |
int |
hashCode() |
protected String |
name() |
public HaversineConstFunction(double latCenter, double lonCenter, org.apache.lucene.queries.function.valuesource.VectorValueSource vs)
protected String name()
public org.apache.lucene.queries.function.FunctionValues getValues(Map context, org.apache.lucene.index.LeafReaderContext readerContext) throws IOException
getValues
in class org.apache.lucene.queries.function.ValueSource
IOException
public void createWeight(Map context, org.apache.lucene.search.IndexSearcher searcher) throws IOException
createWeight
in class org.apache.lucene.queries.function.ValueSource
IOException
public boolean equals(Object o)
equals
in class org.apache.lucene.queries.function.ValueSource
public int hashCode()
hashCode
in class org.apache.lucene.queries.function.ValueSource
public String description()
description
in class org.apache.lucene.queries.function.ValueSource
Copyright © 2000–2015 The Apache Software Foundation. All rights reserved.