## Uses of Interface
org.apache.lucene.search.FieldCache.ShortParser

- Packages that use FieldCache.ShortParser
  Package | Description
  --- | ---
  org.apache.lucene.search | Code to search indices.
  org.apache.lucene.search.function | Programmatic control over documents scores.

- - ### Uses of FieldCache.ShortParser in org.apache.lucene.search

    Fields in org.apache.lucene.search declared as FieldCache.ShortParser
    Modifier and Type | Field and Description
    --- | ---
    `static FieldCache.ShortParser` | FieldCache.`DEFAULT_SHORT_PARSER` The default parser for short values, which are encoded by `Short.toString(short)`

    Methods in org.apache.lucene.search with parameters of type FieldCache.ShortParser
    Modifier and Type | Method and Description
    --- | ---
    `short[]` | FieldCache.`getShorts(IndexReader reader, java.lang.String field, FieldCache.ShortParser parser)` Checks the internal cache for an appropriate entry, and if none is found, reads the terms in `field` as shorts and returns an array of size `reader.maxDoc()` of the value each document has in the given field.
    `static FieldCacheRangeFilter` | FieldCacheRangeFilter.`newShortRange(java.lang.String field, FieldCache.ShortParser parser, java.lang.Short lowerVal, java.lang.Short upperVal, boolean includeLower, boolean includeUpper)` Creates a numeric range query using `FieldCache.getShorts(IndexReader,String,FieldCache.ShortParser)`.

  - ### Uses of FieldCache.ShortParser in org.apache.lucene.search.function

    Constructors in org.apache.lucene.search.function with parameters of type FieldCache.ShortParser
    Constructor and Description
    `ShortFieldSource(java.lang.String field, FieldCache.ShortParser parser)` Create a cached short field source with a specific string-to-short parser.

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