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

How to use
mergeNorms
method
in
org.apache.lucene.index.SegmentMerger

Best Java code snippets using org.apache.lucene.index.SegmentMerger.mergeNorms (Showing top 7 results out of 315)

origin: org.apache.lucene/lucene-core

 t0 = System.nanoTime();
mergeNorms(segmentWriteState);
if (mergeState.infoStream.isEnabled("SM")) {
 long t1 = System.nanoTime();
origin: org.apache.lucene/com.springsource.org.apache.lucene

/**
 * Merges the readers specified by the {@link #add} method
 * into the directory passed to the constructor.
 * @param mergeDocStores if false, we will not merge the
 * stored fields nor vectors files
 * @return The number of documents that were merged
 * @throws CorruptIndexException if the index is corrupt
 * @throws IOException if there is a low-level IO error
 */
final int merge(boolean mergeDocStores) throws CorruptIndexException, IOException {
 this.mergeDocStores = mergeDocStores;
 
 // NOTE: it's important to add calls to
 // checkAbort.work(...) if you make any changes to this
 // method that will spend alot of time.  The frequency
 // of this check impacts how long
 // IndexWriter.close(false) takes to actually stop the
 // threads.
 mergedDocs = mergeFields();
 mergeTerms();
 mergeNorms();
 if (mergeDocStores && fieldInfos.hasVectors())
  mergeVectors();
 return mergedDocs;
}
origin: org.apache.lucene/lucene-core-jfrog

/**
 * Merges the readers specified by the {@link #add} method
 * into the directory passed to the constructor.
 * @param mergeDocStores if false, we will not merge the
 * stored fields nor vectors files
 * @return The number of documents that were merged
 * @throws CorruptIndexException if the index is corrupt
 * @throws IOException if there is a low-level IO error
 */
final int merge(boolean mergeDocStores) throws CorruptIndexException, IOException {
 this.mergeDocStores = mergeDocStores;
 
 // NOTE: it's important to add calls to
 // checkAbort.work(...) if you make any changes to this
 // method that will spend alot of time.  The frequency
 // of this check impacts how long
 // IndexWriter.close(false) takes to actually stop the
 // threads.
 mergedDocs = mergeFields();
 mergeTerms();
 mergeNorms();
 if (mergeDocStores && fieldInfos.hasVectors())
  mergeVectors();
 return mergedDocs;
}
origin: lucene/lucene

/**
 * Merges the readers specified by the {@link #add} method into the directory passed to the constructor
 * @return The number of documents that were merged
 * @throws IOException
 */
final int merge() throws IOException {
 int value;
 
 value = mergeFields();
 mergeTerms();
 mergeNorms();
 if (fieldInfos.hasVectors())
  mergeVectors();
 if (useCompoundFile)
  createCompoundFile();
 return value;
}

origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.lucene

 t0 = System.nanoTime();
mergeNorms(segmentWriteState);
if (mergeState.infoStream.isEnabled("SM")) {
 long t1 = System.nanoTime();
origin: org.infinispan/infinispan-embedded-query

 t0 = System.nanoTime();
mergeNorms(segmentWriteState);
if (mergeState.infoStream.isEnabled("SM")) {
 long t1 = System.nanoTime();
origin: harbby/presto-connectors

 t0 = System.nanoTime();
mergeNorms(segmentWriteState);
if (mergeState.infoStream.isEnabled("SM")) {
 long t1 = System.nanoTime();
org.apache.lucene.indexSegmentMergermergeNorms

Popular methods of SegmentMerger

  • <init>
  • merge
    Merges the readers specified by the #add method into the directory passed to the constructor.
  • mergeFields
  • mergeTerms
  • mergeVectors
    Merge the TermVectors from each of the segments into the new one.
  • mergeDocValues
  • mergeFieldInfos
  • shouldMerge
    True if any merging should happen
  • add
    Add an IndexReader to the collection of readers that are to be merged
  • appendPostings
    Process postings from multiple segments all positioned on the same term. Writes out merged entries i
  • closeReaders
    close all IndexReaders that have been added. Should not be called before merge().
  • createCompoundFile
  • closeReaders,
  • createCompoundFile,
  • mergeTermInfo,
  • mergeTermInfos,
  • addIndexed,
  • appendPostingsNoTf,
  • getDelCounts,
  • getDocMaps,
  • hasProx

Popular in Java

  • Creating JSON documents from java classes using gson
  • startActivity (Activity)
  • putExtra (Intent)
  • notifyDataSetChanged (ArrayAdapter)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • Top 12 Jupyter Notebook extensions
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