Codota Logo
SegmentMerger.hasProx
Code IndexAdd Codota 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)

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

  • 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