/lucene-3.6.0/lucene/contrib/analyzers/stempel/src/java/org/egothor/stemmer/ |
H A D | Optimizer2.java | 81 public Cell merge(Cell m, Cell e) { method in class:Optimizer2
|
H A D | Optimizer.java | 93 Row q = merge(now, rows.get(i)); 123 public Row merge(Row master, Row existing) { method in class:Optimizer 132 Cell s = (b == null) ? new Cell(a) : merge(a, b); 157 public Cell merge(Cell m, Cell e) { method in class:Optimizer
|
/lucene-3.6.0/lucene/contrib/facet/src/examples/org/apache/lucene/facet/example/merge/ |
H A D | TaxonomyMergeUtils.java | 1 package org.apache.lucene.facet.example.merge; 46 * {@link #merge(Directory, Directory, IndexWriter, DirectoryTaxonomyWriter)} 49 * @see #merge(Directory, Directory, IndexWriter, DirectoryTaxonomyWriter) 51 public static void merge(Directory srcIndexDir, Directory srcTaxDir, method in class:TaxonomyMergeUtils 56 merge(srcIndexDir, srcTaxDir, new MemoryOrdinalMap(), destIndexWriter, destTaxWriter); 65 * {@link #merge(Directory, Directory, DirectoryTaxonomyWriter.OrdinalMap, IndexWriter, DirectoryTaxonomyWriter)} 68 * @see #merge(Directory, Directory, DirectoryTaxonomyWriter.OrdinalMap, IndexWriter, DirectoryTaxonomyWriter) 70 public static void merge(Directory srcIndexDir, Directory srcTaxDir, method in class:TaxonomyMergeUtils 73 merge(srcIndexDir, srcTaxDir, new MemoryOrdinalMap(), destIndexWriter, destTaxWriter); 80 public static void merge(Director method in class:TaxonomyMergeUtils [all...] |
/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/facet/index/attributes/ |
H A D | CategoryProperty.java | 45 * The category property to merge. 49 public void merge(CategoryProperty other) method in interface:CategoryProperty
|
H A D | OrdinalProperty.java | 66 public void merge(CategoryProperty other) { method in class:OrdinalProperty
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/ |
H A D | MergeScheduler.java | 32 public abstract void merge(IndexWriter writer) method in class:MergeScheduler
|
H A D | NoMergeScheduler.java | 45 public void merge(IndexWriter writer) throws CorruptIndexException, IOException {} method in class:NoMergeScheduler
|
H A D | SerialMergeScheduler.java | 22 /** A {@link MergeScheduler} that simply does each merge 28 * multiple threads, only one merge may run at a time. */ 30 synchronized public void merge(IndexWriter writer) method in class:SerialMergeScheduler 34 MergePolicy.OneMerge merge = writer.getNextMerge(); 35 if (merge == null) 37 writer.merge(merge);
|
H A D | MergeDocIDRemapper.java | 20 /** Remaps docIDs after a merge has completed, where the 23 * merge of segments with deletions commits. */ 31 int docShift; // total # deleted docs that were compacted by this merge 33 public MergeDocIDRemapper(SegmentInfos infos, int[][] docMaps, int[] delCounts, MergePolicy.OneMerge merge, int mergedDocCount) { argument 35 SegmentInfo firstSegment = merge.segments.get(0); 48 assert infos.info(i).equals(merge.segments.get(j)); 58 final int lastDocCount = merge.segments.get(i-1).docCount; 72 assert docShift == maxDocID - (newStarts[docMaps.length-1] + merge.segments.get(docMaps.length-1).docCount - delCounts[docMaps.length-1]); 77 // Unaffected by merge 80 // This doc was "after" the merge, s [all...] |
/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/facet/enhancements/association/ |
H A D | AssociationFloatProperty.java | 58 public void merge(CategoryProperty other) { method in class:AssociationFloatProperty
|
H A D | AssociationIntProperty.java | 55 public void merge(CategoryProperty other) { method in class:AssociationIntProperty
|
/lucene-3.6.0/lucene/contrib/facet/src/test/org/apache/lucene/facet/index/ |
H A D | DummyProperty.java | 40 public void merge(CategoryProperty other) { method in class:DummyProperty
|
/lucene-3.6.0/lucene/contrib/instantiated/src/java/org/apache/lucene/store/instantiated/ |
H A D | FieldSettings.java | 36 synchronized FieldSetting merge(FieldSetting fieldSetting) { method in class:FieldSettings
|
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/ |
H A D | TestForceMergeForever.java | 43 public void merge(MergePolicy.OneMerge merge) throws CorruptIndexException, IOException { argument 44 if (merge.maxNumSegments != -1 && (first || merge.segments.size() == 1)) { 47 System.out.println("TEST: maxNumSegments merge"); 51 super.merge(merge); 100 assertTrue("merge count is " + w.mergeCount.get(), w.mergeCount.get() <= 1);
|
H A D | TestDoc.java | 118 SegmentInfo siMerge = merge(si1, si2, "merge", false); 121 SegmentInfo siMerge2 = merge(si1, si2, "merge2", false); 124 SegmentInfo siMerge3 = merge(siMerge, siMerge2, "merge3", false); 153 siMerge = merge(si1, si2, "merge", true); 156 siMerge2 = merge(si1, si2, "merge2", true); 159 siMerge3 = merge(siMerge, siMerge2, "merge3", true); 182 private SegmentInfo merge(SegmentInfo si1, SegmentInfo si2, String merged, boolean useCompoundFile) method in class:TestDoc 191 merger.merge(); [all...] |
H A D | TestIndexWriterMerging.java | 266 synchronized public void merge(IndexWriter writer) method in class:TestIndexWriterMerging.MyMergeScheduler 270 MergePolicy.OneMerge merge = writer.getNextMerge(); 271 if (merge == null) { 274 for(int i=0;i<merge.segments.size();i++) { 275 assert merge.segments.get(i).docCount < 20; 277 writer.merge(merge); 347 // Force a bunch of merge threads to kick off so we
|
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/index/ |
H A D | TestForceMergeForever.java | 43 public void merge(MergePolicy.OneMerge merge) throws CorruptIndexException, IOException { argument 44 if (merge.maxNumSegments != -1 && (first || merge.segments.size() == 1)) { 47 System.out.println("TEST: maxNumSegments merge"); 51 super.merge(merge); 100 assertTrue("merge count is " + w.mergeCount.get(), w.mergeCount.get() <= 1);
|
H A D | TestDoc.java | 125 SegmentInfo siMerge = merge(si1, si2, "merge", false); 128 SegmentInfo siMerge2 = merge(si1, si2, "merge2", false); 131 SegmentInfo siMerge3 = merge(siMerge, siMerge2, "merge3", false); 159 siMerge = merge(si1, si2, "merge", true); 162 siMerge2 = merge(si1, si2, "merge2", true); 165 siMerge3 = merge(siMerge, siMerge2, "merge3", true); 188 private SegmentInfo merge(SegmentInfo si1, SegmentInfo si2, String merged, boolean useCompoundFile) method in class:TestDoc 197 merger.merge(); [all...] |
/lucene-3.6.0/lucene/contrib/grouping/src/java/org/apache/lucene/search/grouping/ |
H A D | TopGroups.java | 84 public static <T> TopGroups<T> merge(TopGroups<T>[] shardGroups, Sort groupSort, Sort docSort, int docOffset, int docTopN) method in class:TopGroups 87 //System.out.println("TopGroups.merge"); 95 // Optionally merge the totalGroupCount. 121 //System.out.println(" merge groupValue=" + groupValue + " sortValues=" + Arrays.toString(shardGroups[0].groups[groupIDX].groupSortValues)); 149 final TopDocs mergedTopDocs = TopDocs.merge(docSort, docOffset + docTopN, shardTopDocs);
|
/lucene-3.6.0/lucene/contrib/highlighter/src/java/org/apache/lucene/search/highlight/ |
H A D | TextFragment.java | 62 public void merge(TextFragment frag2) method in class:TextFragment
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/ |
H A D | TopDocs.java | 203 * <p>Pass sort=null to merge sort by score descending. 206 public static TopDocs merge(Sort sort, int topN, TopDocs[] shardHits) throws IOException { method in class:TopDocs
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/util/ |
H A D | SorterTemplate.java | 79 // fall back to merge sort when recursion depth gets too big 134 merge(lo, mid, hi, mid - lo, hi - mid); 137 private void merge(int lo, int pivot, int hi, int len1, int len2) { method in class:SorterTemplate 162 merge(lo, first_cut, new_mid, len11, len22); 163 merge(new_mid, second_cut, hi, len1 - len11, len2 - len22);
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/util/fst/ |
H A D | Outputs.java | 65 public T merge(T first, T second) { method in class:Outputs
|
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/ |
H A D | TestMergeSchedulerExternal.java | 50 public MyMergeThread(IndexWriter writer, MergePolicy.OneMerge merge) throws IOException { argument 51 super(writer, merge); 57 protected MergeThread getMergeThread(IndexWriter writer, MergePolicy.OneMerge merge) throws IOException { argument 58 MergeThread thread = new MyMergeThread(writer, merge); 71 protected void doMerge(MergePolicy.OneMerge merge) throws IOException { argument 73 super.doMerge(merge); 83 throw new IOException("now failing during merge"); 117 public void merge(IndexWriter writer) throws CorruptIndexException, IOException { method in class:TestMergeSchedulerExternal.ReportingMergeScheduler 118 OneMerge merge = null; 119 while ((merge [all...] |
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/ |
H A D | TestMergeSchedulerExternal.java | 50 public MyMergeThread(IndexWriter writer, MergePolicy.OneMerge merge) throws IOException { argument 51 super(writer, merge); 57 protected MergeThread getMergeThread(IndexWriter writer, MergePolicy.OneMerge merge) throws IOException { argument 58 MergeThread thread = new MyMergeThread(writer, merge); 71 protected void doMerge(MergePolicy.OneMerge merge) throws IOException { argument 73 super.doMerge(merge); 83 throw new IOException("now failing during merge"); 117 public void merge(IndexWriter writer) throws CorruptIndexException, IOException { method in class:TestMergeSchedulerExternal.ReportingMergeScheduler 118 OneMerge merge = null; 119 while ((merge [all...] |