|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.lucene.spatial.SpatialStrategy
org.apache.lucene.spatial.prefix.PrefixTreeStrategy
org.apache.lucene.spatial.prefix.TermQueryPrefixTreeStrategy
public class TermQueryPrefixTreeStrategy
A basic implementation using a large TermsFilter of all the nodes from
SpatialPrefixTree.getNodes(com.spatial4j.core.shape.Shape, int, boolean).
| Field Summary |
|---|
| Fields inherited from class org.apache.lucene.spatial.prefix.PrefixTreeStrategy |
|---|
defaultFieldValuesArrayLen, distErrPct, FIELD_TYPE, grid |
| Fields inherited from class org.apache.lucene.spatial.SpatialStrategy |
|---|
ctx, ignoreIncompatibleGeometry |
| Constructor Summary | |
|---|---|
TermQueryPrefixTreeStrategy(SpatialPrefixTree grid,
String fieldName)
|
|
| Method Summary | |
|---|---|
Filter |
makeFilter(SpatialArgs args)
Make a Filter |
| Methods inherited from class org.apache.lucene.spatial.prefix.PrefixTreeStrategy |
|---|
createIndexableFields, getGrid, makeValueSource, makeValueSource, setDefaultFieldValuesArrayLen, setDistErrPct |
| Methods inherited from class org.apache.lucene.spatial.SpatialStrategy |
|---|
getFieldName, getSpatialContext, isIgnoreIncompatibleGeometry, makeQuery, setIgnoreIncompatibleGeometry, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TermQueryPrefixTreeStrategy(SpatialPrefixTree grid,
String fieldName)
| Method Detail |
|---|
public Filter makeFilter(SpatialArgs args)
SpatialStrategy
makeFilter in class SpatialStrategy
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||