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

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

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

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.lucene/lucene-core-jfrog

 merger.createCompoundFile(compoundFileName);
 success = true;
} catch (IOException ioe) {
origin: org.apache.lucene/com.springsource.org.apache.lucene

 merger.createCompoundFile(compoundFileName);
 success = true;
} catch (IOException ioe) {
origin: org.apache.lucene/com.springsource.org.apache.lucene

merger.createCompoundFile(mergedName + ".cfs");
synchronized(this) {
 info.setUseCompoundFile(true);
origin: org.apache.lucene/lucene-core-jfrog

merger.createCompoundFile(mergedName + ".cfs");
synchronized(this) {
 info.setUseCompoundFile(true);
org.apache.lucene.indexSegmentMergercreateCompoundFile

Popular methods of SegmentMerger

  • <init>
  • merge
    Merges the readers specified by the #add method into the directory passed to the constructor.
  • mergeFields
  • mergeNorms
  • 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().
  • appendPostings,
  • closeReaders,
  • mergeTermInfo,
  • mergeTermInfos,
  • addIndexed,
  • appendPostingsNoTf,
  • getDelCounts,
  • getDocMaps,
  • hasProx

Popular in Java

  • Finding current android device location
  • scheduleAtFixedRate (Timer)
  • startActivity (Activity)
  • getResourceAsStream (ClassLoader)
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • JComboBox (javax.swing)
  • Top PhpStorm plugins
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