/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/ |
H A D | NoMergePolicy.java | 46 private final boolean useCompoundFile; field in class:NoMergePolicy 48 private NoMergePolicy(boolean useCompoundFile) { argument 50 this.useCompoundFile = useCompoundFile; 70 public boolean useCompoundFile(SegmentInfos segments, SegmentInfo newSegment) { return useCompoundFile; } method in class:NoMergePolicy
|
H A D | LogMergePolicy.java | 78 protected boolean useCompoundFile = true; field in class:LogMergePolicy 135 public boolean useCompoundFile(SegmentInfos infos, SegmentInfo mergedInfo) throws IOException { method in class:LogMergePolicy 138 if (!useCompoundFile) { 154 public void setUseCompoundFile(boolean useCompoundFile) { argument 155 this.useCompoundFile = useCompoundFile; 162 return useCompoundFile; 234 (info.getUseCompoundFile() == useCompoundFile || noCFSRatio < 1.0); 347 * compound file format if the current useCompoundFile 657 sb.append("useCompoundFile [all...] |
H A D | TieredMergePolicy.java | 83 private boolean useCompoundFile = true; field in class:TieredMergePolicy 212 public TieredMergePolicy setUseCompoundFile(boolean useCompoundFile) { argument 213 this.useCompoundFile = useCompoundFile; 219 return useCompoundFile; 601 public boolean useCompoundFile(SegmentInfos infos, SegmentInfo mergedInfo) throws IOException { method in class:TieredMergePolicy 604 if (!useCompoundFile) { 630 (info.getUseCompoundFile() == useCompoundFile || noCFSRatio < 1.0); 666 sb.append("useCompoundFile=").append(useCompoundFile) [all...] |
H A D | UpgradeIndexMergePolicy.java | 134 public boolean useCompoundFile(SegmentInfos segments, SegmentInfo newSegment) throws IOException { method in class:UpgradeIndexMergePolicy 135 return base.useCompoundFile(segments, newSegment);
|
H A D | SegmentInfo.java | 656 boolean useCompoundFile = getUseCompoundFile(); 658 if (useCompoundFile) { 680 } else if (!useCompoundFile) { 705 if (!hasSingleNormFile && !useCompoundFile) { 714 if (useCompoundFile) { 724 } else if (preLockless || (!hasSingleNormFile && !useCompoundFile)) { 728 if (useCompoundFile)
|
H A D | MergePolicy.java | 325 public abstract boolean useCompoundFile(SegmentInfos segments, SegmentInfo newSegment) throws IOException; method in class:MergePolicy
|
H A D | IndexWriter.java | 3207 boolean useCompoundFile; 3214 useCompoundFile = mergePolicy.useCompoundFile(segmentInfos, info); 3218 if (useCompoundFile) { 4276 boolean useCompoundFile; 4278 useCompoundFile = mergePolicy.useCompoundFile(segmentInfos, merge.info); 4281 if (useCompoundFile) {
|
H A D | DocumentsWriter.java | 593 if (mergePolicy.useCompoundFile(segmentInfos, newSegment)) {
|
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/ |
H A D | TestNoMergePolicy.java | 36 assertFalse(mp.useCompoundFile(null, null)); 42 assertFalse(NoMergePolicy.NO_COMPOUND_FILES.useCompoundFile(null, null)); 43 assertTrue(NoMergePolicy.COMPOUND_FILES.useCompoundFile(null, null));
|
H A D | TestPerSegmentDeletes.java | 239 private final boolean useCompoundFile; field in class:TestPerSegmentDeletes.RangeMergePolicy 241 private RangeMergePolicy(boolean useCompoundFile) { argument 242 this.useCompoundFile = useCompoundFile; 275 public boolean useCompoundFile(SegmentInfos segments, SegmentInfo newSegment) { method in class:TestPerSegmentDeletes.RangeMergePolicy 276 return useCompoundFile;
|
H A D | TestDeletionPolicy.java | 298 boolean useCompoundFile = (pass % 2) != 0; 312 setUseCompoundFile(mp, useCompoundFile); 503 boolean useCompoundFile = (pass % 2) != 0; 515 setUseCompoundFile(mp, useCompoundFile); 555 boolean useCompoundFile = (pass % 2) != 0; 568 setUseCompoundFile(mp, useCompoundFile); 617 boolean useCompoundFile = (pass % 2) != 0; 627 setUseCompoundFile(mp, useCompoundFile); 643 setUseCompoundFile(mp, useCompoundFile); 672 setUseCompoundFile(mp, useCompoundFile); [all...] |
H A D | TestDoc.java | 182 private SegmentInfo merge(SegmentInfo si1, SegmentInfo si2, String merged, boolean useCompoundFile) argument 200 if (useCompoundFile) {
|
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/index/ |
H A D | TestNoMergePolicy.java | 36 assertFalse(mp.useCompoundFile(null, null)); 42 assertFalse(NoMergePolicy.NO_COMPOUND_FILES.useCompoundFile(null, null)); 43 assertTrue(NoMergePolicy.COMPOUND_FILES.useCompoundFile(null, null));
|
H A D | TestPerSegmentDeletes.java | 238 private final boolean useCompoundFile; field in class:TestPerSegmentDeletes.RangeMergePolicy 240 private RangeMergePolicy(boolean useCompoundFile) { argument 241 this.useCompoundFile = useCompoundFile; 274 public boolean useCompoundFile(SegmentInfos segments, SegmentInfo newSegment) { method in class:TestPerSegmentDeletes.RangeMergePolicy 275 return useCompoundFile;
|
H A D | TestDoc.java | 188 private SegmentInfo merge(SegmentInfo si1, SegmentInfo si2, String merged, boolean useCompoundFile) argument 206 if (useCompoundFile) {
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/update/ |
H A D | SolrIndexConfig.java | 45 public final boolean useCompoundFile; field in class:SolrIndexConfig 66 useCompoundFile = luceneVersion.onOrAfter(Version.LUCENE_36) ? false : true; 113 useCompoundFile=solrConfig.getBool(prefix+"/useCompoundFile", def.useCompoundFile); 187 logMergePolicy.setUseCompoundFile(useCompoundFile); 194 tieredMergePolicy.setUseCompoundFile(useCompoundFile);
|
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/ |
H A D | TestSearch.java | 66 private void doTestSearch(Random random, PrintWriter out, boolean useCompoundFile) argument 73 ((LogMergePolicy) mp).setUseCompoundFile(useCompoundFile);
|
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/ |
H A D | TestSearch.java | 73 private void doTestSearch(Random random, PrintWriter out, boolean useCompoundFile) argument 80 ((LogMergePolicy) mp).setUseCompoundFile(useCompoundFile);
|
/lucene-3.6.0/solr/core/src/test/org/apache/solr/core/ |
H A D | TestConfig.java | 154 assertTrue("default useCompoundFile should be false", sic.useCompoundFile == false); 163 assertTrue("default useCompoundFile should be true", sic.useCompoundFile == true);
|
/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/index/ |
H A D | MockRandomMergePolicy.java | 110 public boolean useCompoundFile(SegmentInfos infos, SegmentInfo mergedInfo) throws IOException { method in class:MockRandomMergePolicy
|
/lucene-3.6.0/lucene/backwards/src/test-framework/java/org/apache/lucene/index/ |
H A D | MockRandomMergePolicy.java | 107 public boolean useCompoundFile(SegmentInfos infos, SegmentInfo mergedInfo) throws IOException { method in class:MockRandomMergePolicy
|
/lucene-3.6.0/lucene/contrib/misc/src/java/org/apache/lucene/index/ |
H A D | BalancedSegmentMergePolicy.java | 417 public void setUseCompoundFile(boolean useCompoundFile) { argument 418 _useCompoundFile = useCompoundFile;
|