# Deprecated API

## Contents

- Deprecated Packages
- Deprecated Classes
- Deprecated Fields
- Deprecated Constructors
- Deprecated Enum Constants

- Deprecated Packages
  Package and Description
  org.apache.lucene.spatial.geopoint.search Use the higher performance `LatLonPoint` queries instead.

- Deprecated Classes
  Class and Description
  org.apache.lucene.spatial.geopoint.search.GeoPointDistanceQuery Use the higher performance `LatLonPoint.newDistanceQuery` instead.
  org.apache.lucene.spatial.geopoint.document.GeoPointField Use the higher performance `LatLonPoint` instead.
  org.apache.lucene.spatial.geopoint.search.GeoPointInBBoxQuery Use the higher performance `LatLonPoint.newBoxQuery` instead.
  org.apache.lucene.spatial.geopoint.search.GeoPointInPolygonQuery Use the higher performance `LatLonPoint.newPolygonQuery` instead.

- Deprecated Fields
  Field and Description
  org.apache.lucene.spatial.geopoint.document.GeoPointField.NUMERIC_TYPE_NOT_STORED Type for a GeoPointField that is not stored: normalization factors, frequencies, and positions are omitted.
  org.apache.lucene.spatial.geopoint.document.GeoPointField.NUMERIC_TYPE_STORED Type for a stored GeoPointField: normalization factors, frequencies, and positions are omitted.

- Deprecated Constructors
  Constructor and Description
  org.apache.lucene.spatial.geopoint.document.GeoPointField(String, double, double, GeoPointField.TermEncoding, Field.Store)
  org.apache.lucene.spatial.geopoint.search.GeoPointInPolygonQuery(String, double[], double[]) Use `GeoPointInPolygonQuery.GeoPointInPolygonQuery(String, Polygon[])`.
  org.apache.lucene.spatial.geopoint.search.GeoPointInPolygonQuery(String, GeoPointField.TermEncoding, double[], double[]) Use `GeoPointInPolygonQuery.GeoPointInPolygonQuery(String, GeoPointField.TermEncoding, Polygon[])` instead.

- Deprecated Enum Constants
  Enum Constant and Description
  org.apache.lucene.spatial.geopoint.document.GeoPointField.TermEncoding.NUMERIC encodes prefix and full resolution terms - use with `LegacyNumericTokenStream`

Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.