congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
SortedSetDocValuesFacetCounts.countAll
Code IndexAdd Tabnine to your IDE (free)

How to use
countAll
method
in
org.apache.lucene.facet.sortedset.SortedSetDocValuesFacetCounts

Best Java code snippets using org.apache.lucene.facet.sortedset.SortedSetDocValuesFacetCounts.countAll (Showing top 1 results out of 315)

origin: org.apache.lucene/lucene-facet

/** Counts all facet dimensions across the provided hits. */
public SortedSetDocValuesFacetCounts(SortedSetDocValuesReaderState state, FacetsCollector hits)
  throws IOException {
 this.state = state;
 this.field = state.getField();
 dv = state.getDocValues();    
 counts = new int[state.getSize()];
 if (hits == null) {
  // browse only
  countAll();
 } else {
  count(hits.getMatchingDocs());
 }
}
org.apache.lucene.facet.sortedsetSortedSetDocValuesFacetCountscountAll

Javadoc

Does all the "real work" of tallying up the counts.

Popular methods of SortedSetDocValuesFacetCounts

  • <init>
    Counts all facet dimensions across the provided hits.
  • getTopChildren
  • count
    Does all the "real work" of tallying up the counts.
  • getDim
  • countOneSegment
  • getAllDims

Popular in Java

  • Reactive rest calls using spring rest template
  • scheduleAtFixedRate (Timer)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • runOnUiThread (Activity)
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • CodeWhisperer alternatives
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