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

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

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

origin: org.apache.lucene/com.springsource.org.apache.lucene

String ext = IndexFileNames.COMPOUND_EXTENSIONS[i];
if (ext.equals(IndexFileNames.PROX_EXTENSION) && !hasProx())
 continue;
origin: org.apache.lucene/lucene-core-jfrog

String ext = IndexFileNames.COMPOUND_EXTENSIONS[i];
if (ext.equals(IndexFileNames.PROX_EXTENSION) && !hasProx())
 continue;
origin: org.apache.lucene/com.springsource.org.apache.lucene

private final void mergeTerms() throws CorruptIndexException, IOException {
 try {
  freqOutput = directory.createOutput(segment + ".frq");
  if (hasProx())
   proxOutput = directory.createOutput(segment + ".prx");
  termInfosWriter =
      new TermInfosWriter(directory, segment, fieldInfos,
                termIndexInterval);
  skipInterval = termInfosWriter.skipInterval;
  maxSkipLevels = termInfosWriter.maxSkipLevels;
  skipListWriter = new DefaultSkipListWriter(skipInterval, maxSkipLevels, mergedDocs, freqOutput, proxOutput);
  queue = new SegmentMergeQueue(readers.size());
  mergeTermInfos();
 } finally {
  if (freqOutput != null) freqOutput.close();
  if (proxOutput != null) proxOutput.close();
  if (termInfosWriter != null) termInfosWriter.close();
  if (queue != null) queue.close();
 }
}
origin: org.apache.lucene/lucene-core-jfrog

private final void mergeTerms() throws CorruptIndexException, IOException {
 try {
  freqOutput = directory.createOutput(segment + ".frq");
  if (hasProx())
   proxOutput = directory.createOutput(segment + ".prx");
  termInfosWriter =
      new TermInfosWriter(directory, segment, fieldInfos,
                termIndexInterval);
  skipInterval = termInfosWriter.skipInterval;
  maxSkipLevels = termInfosWriter.maxSkipLevels;
  skipListWriter = new DefaultSkipListWriter(skipInterval, maxSkipLevels, mergedDocs, freqOutput, proxOutput);
  queue = new SegmentMergeQueue(readers.size());
  mergeTermInfos();
 } finally {
  if (freqOutput != null) freqOutput.close();
  if (proxOutput != null) proxOutput.close();
  if (termInfosWriter != null) termInfosWriter.close();
  if (queue != null) queue.close();
 }
}
origin: org.apache.lucene/com.springsource.org.apache.lucene

merge.info.setHasProx(merger.hasProx());
origin: org.apache.lucene/lucene-core-jfrog

merge.info.setHasProx(merger.hasProx());
origin: org.apache.lucene/com.springsource.org.apache.lucene

            -1, null, false, merger.hasProx());
segmentInfos.add(info);
origin: org.apache.lucene/lucene-core-jfrog

            -1, null, false, merger.hasProx());
segmentInfos.add(info);
org.apache.lucene.indexSegmentMergerhasProx

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,
  • createCompoundFile,
  • mergeTermInfo,
  • mergeTermInfos,
  • addIndexed,
  • appendPostingsNoTf,
  • getDelCounts,
  • getDocMaps

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)
  • 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