remove numeric encoding reference from GeoPointTokenStream javadocs

This commit is contained in:
Nicholas Knize 2016-06-21 08:34:47 -05:00
parent 060cacfdab
commit f7df322ca5
1 changed files with 3 additions and 7 deletions

View File

@ -48,15 +48,11 @@ import static org.apache.lucene.spatial.geopoint.document.GeoPointField.PRECISIO
* GeoPointField geoPointField = new GeoPointField(fieldName1, lat, lon, GeoPointField.TYPE_NOT_STORED);
* document.add(geoPointField);
*
* // query by bounding box (default uses TermEncoding.PREFIX)
* // query by bounding box
* Query q = new GeoPointInBBoxQuery(fieldName1, minLat, maxLat, minLon, maxLon);
*
* // using numeric terms
* geoPointField = new GeoPointField(fieldName2, lat, lon, GeoPointField.NUMERIC_TYPE_NOT_STORED);
* document.add(geoPointField);
*
* // query by distance (requires TermEncoding.NUMERIC)
* q = new GeoPointDistanceQuery(fieldName2, TermEncoding.NUMERIC, centerLat, centerLon, radiusMeters);
* // query by distance
* q = new GeoPointDistanceQuery(fieldName2, centerLat, centerLon, radiusMeters);
* </pre>
*
* @lucene.experimental