org.hibernate.search.spatial
Class SpatialFieldBridgeByRange
java.lang.Object
org.hibernate.search.spatial.SpatialFieldBridge
org.hibernate.search.spatial.SpatialFieldBridgeByRange
- All Implemented Interfaces:
- FieldBridge
public class SpatialFieldBridgeByRange
- extends SpatialFieldBridge
Hibernate Search field bridge using Range Spatial, binding a Coordinates to two numeric fields for latitude and Longitude
- Author:
- Nicolas Helleringer
Method Summary |
void |
set(String name,
Object value,
org.apache.lucene.document.Document document,
LuceneOptions luceneOptions)
Actual overridden method that does the indexing |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpatialFieldBridgeByRange
public SpatialFieldBridgeByRange()
SpatialFieldBridgeByRange
public SpatialFieldBridgeByRange(String latitudeField,
String longitudeField)
set
public void set(String name,
Object value,
org.apache.lucene.document.Document document,
LuceneOptions luceneOptions)
- Actual overridden method that does the indexing
- Specified by:
set
in interface FieldBridge
- Specified by:
set
in class SpatialFieldBridge
- Parameters:
name
- of the fieldvalue
- of the fielddocument
- document being indexedluceneOptions
- current indexing options and accessors
Copyright © 2006-2013 Red Hat Middleware, LLC. All Rights Reserved