Codota Logo
SegmentMerger.mergeTerms
Code IndexAdd Codota to your IDE (free)

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

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

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
StringBuilder s =
  • Codota Iconnew StringBuilder()
  • Codota Iconnew StringBuilder(32)
  • Codota IconString str;new StringBuilder(str)
  • Smart code suggestions by Codota
}
origin: org.apache.lucene/lucene-core

 t0 = System.nanoTime();
mergeTerms(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();
mergeTerms(segmentWriteState);
if (mergeState.infoStream.isEnabled("SM")) {
 long t1 = System.nanoTime();
origin: org.infinispan/infinispan-embedded-query

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

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

Popular methods of SegmentMerger

  • <init>
  • merge
    Merges the readers specified by the #add method into the directory passed to the constructor.
  • mergeFields
  • mergeNorms
  • 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

  • Start an intent from android
  • putExtra (Intent)
  • notifyDataSetChanged (ArrayAdapter)
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • MessageFormat (java.text)
    MessageFormat provides a means to produce concatenated messages in language-neutral way. Use this to
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • JFileChooser (javax.swing)
  • JTextField (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now