Tabnine Logo
DocValues.emptyLegacySorted
Code IndexAdd Tabnine to your IDE (free)

How to use
emptyLegacySorted
method
in
org.apache.lucene.index.DocValues

Best Java code snippets using org.apache.lucene.index.DocValues.emptyLegacySorted (Showing top 1 results out of 315)

origin: org.apache.lucene/lucene-codecs

private LegacySortedDocValues getSortedNonIterator(FieldInfo field) throws IOException {
 final FSTEntry entry = fsts.get(field.name);
 if (entry.numOrds == 0) {
  return DocValues.emptyLegacySorted();
org.apache.lucene.indexDocValuesemptyLegacySorted

Javadoc

An empty SortedDocValues which returns BytesRef#EMPTY_BYTES for every document

Popular methods of DocValues

  • emptySortedSet
    An empty SortedDocValues which returns BytesRef#EMPTY_BYTES for every document
  • getSortedNumeric
    Returns SortedNumericDocValues for the field, or #emptySortedNumeric if it has none.
  • unwrapSingleton
    Returns a single-valued view of the SortedSetDocValues, if it was previously wrapped with #singleton
  • emptyBinary
    An empty BinaryDocValues which returns no documents
  • emptySorted
    An empty SortedDocValues which returns BytesRef#EMPTY_BYTES for every document
  • getBinary
    Returns BinaryDocValues for the field, or #emptyBinary if it has none.
  • getNumeric
    Returns NumericDocValues for the field, or #emptyNumeric() if it has none.
  • getSortedSet
    Returns SortedSetDocValues for the field, or #emptySortedSet if it has none.
  • singleton
    Returns a multi-valued view over the provided SortedDocValues
  • emptyNumeric
    An empty NumericDocValues which returns no documents
  • emptySortedNumeric
    An empty SortedNumericDocValues which returns zero values for every document
  • getSorted
    Returns SortedDocValues for the field, or #emptySorted if it has none.
  • emptySortedNumeric,
  • getSorted,
  • isCacheable,
  • checkField,
  • docsWithValue,
  • getDocsWithField,
  • unwrapSingletonBits

Popular in Java

  • Reactive rest calls using spring rest template
  • runOnUiThread (Activity)
  • getResourceAsStream (ClassLoader)
  • getApplicationContext (Context)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • JFileChooser (javax.swing)
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now