Searched refs:useCompoundFile (Results 1 - 22 of 22) sorted by relevance

/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/
H A DNoMergePolicy.java46 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 DLogMergePolicy.java78 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 DTieredMergePolicy.java83 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 DUpgradeIndexMergePolicy.java134 public boolean useCompoundFile(SegmentInfos segments, SegmentInfo newSegment) throws IOException { method in class:UpgradeIndexMergePolicy
135 return base.useCompoundFile(segments, newSegment);
H A DSegmentInfo.java656 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 DMergePolicy.java325 public abstract boolean useCompoundFile(SegmentInfos segments, SegmentInfo newSegment) throws IOException; method in class:MergePolicy
H A DIndexWriter.java3207 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 DDocumentsWriter.java593 if (mergePolicy.useCompoundFile(segmentInfos, newSegment)) {
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/
H A DTestNoMergePolicy.java36 assertFalse(mp.useCompoundFile(null, null));
42 assertFalse(NoMergePolicy.NO_COMPOUND_FILES.useCompoundFile(null, null));
43 assertTrue(NoMergePolicy.COMPOUND_FILES.useCompoundFile(null, null));
H A DTestPerSegmentDeletes.java239 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 DTestDeletionPolicy.java298 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 DTestDoc.java182 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 DTestNoMergePolicy.java36 assertFalse(mp.useCompoundFile(null, null));
42 assertFalse(NoMergePolicy.NO_COMPOUND_FILES.useCompoundFile(null, null));
43 assertTrue(NoMergePolicy.COMPOUND_FILES.useCompoundFile(null, null));
H A DTestPerSegmentDeletes.java238 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 DTestDoc.java188 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 DSolrIndexConfig.java45 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 DTestSearch.java66 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 DTestSearch.java73 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 DTestConfig.java154 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 DMockRandomMergePolicy.java110 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 DMockRandomMergePolicy.java107 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 DBalancedSegmentMergePolicy.java417 public void setUseCompoundFile(boolean useCompoundFile) { argument
418 _useCompoundFile = useCompoundFile;

Completed in 925 milliseconds