## Uses of Class
org.apache.solr.util.DistanceUnits

- Packages that use DistanceUnits
  Package | Description
  --- | ---
  org.apache.solr.schema | `IndexSchema` and `FieldType` implementations for powering schema.xml
  org.apache.solr.util | Common utility classes used throughout Solr

- - ### Uses of DistanceUnits in org.apache.solr.schema

    Fields in org.apache.solr.schema declared as DistanceUnits
    Modifier and Type | Field and Description
    --- | ---
    `protected DistanceUnits` | AbstractSpatialFieldType.`distanceUnits`

    Methods in org.apache.solr.schema that return DistanceUnits
    Modifier and Type | Method and Description
    --- | ---
    `DistanceUnits` | AbstractSpatialFieldType.`getDistanceUnits()`
    `DistanceUnits` | AbstractSpatialFieldType.`parseDistanceUnits(String str)` if `str` is non-null, returns `valueOf(String)` (which will return null if not found), else returns `AbstractSpatialFieldType.distanceUnits` (only null before initialized in `init()`.

  - ### Uses of DistanceUnits in org.apache.solr.util

    Fields in org.apache.solr.util declared as DistanceUnits
    Modifier and Type | Field and Description
    --- | ---
    `static DistanceUnits` | DistanceUnits.`DEGREES`
    `static DistanceUnits` | DistanceUnits.`KILOMETERS`
    `static DistanceUnits` | DistanceUnits.`MILES`

    Methods in org.apache.solr.util that return DistanceUnits
    Modifier and Type | Method and Description
    --- | ---
    `static DistanceUnits` | DistanceUnits.`valueOf(String str)` Parses a string representation of distance units and returns its implementing class instance.

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