/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/facet/search/ |
H A D | FloatArrayAllocator.java | 24 * of a certain size. These float arrays are needed temporarily during 34 // An FloatArrayAllocater deals with integer arrays of a fixed size, size. 35 private int size; field in class:FloatArrayAllocator 38 * Construct an allocator for float arrays of size <CODE>size</CODE>, 41 * Note that the pool size only restricts the number of arrays that hang 53 public FloatArrayAllocator(int size, int maxArrays) { argument 55 this.size = size; [all...] |
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/ |
H A D | ParallelPostingsArray.java | 26 final int size; field in class:ParallelPostingsArray 31 ParallelPostingsArray(final int size) { argument 32 this.size = size; 33 textStarts = new int[size]; 34 intStarts = new int[size]; 35 byteStarts = new int[size]; 42 ParallelPostingsArray newInstance(int size) { argument 43 return new ParallelPostingsArray(size); 47 int newSize = ArrayUtil.oversize(size [all...] |
H A D | KeepOnlyLastCommitDeletionPolicy.java | 35 // Note that commits.size() should normally be 1: 43 // Note that commits.size() should normally be 2 (if not 45 int size = commits.size(); 46 for(int i=0;i<size-1;i++) {
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/internal/csv/writer/ |
H A D | CSVField.java | 30 private int size; field in class:CSVField 49 * @param size the size of the field 51 public CSVField(String name, int size) { argument 53 setSize(size); 73 * @return the size of the field 76 return size; 80 * Set the size of the field. 81 * The size will be ignored when fixedwidth is set to false in the CSVConfig 82 * @param size th 84 setSize(int size) argument [all...] |
/lucene-3.6.0/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/stats/ |
H A D | Report.java | 26 private int size; field in class:Report 30 public Report (String text, int size, int reported, int outOf) { argument 32 this.size = size; 48 return size;
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/util/ |
H A D | CollectionUtil.java | 28 * before/after. For medium size collections as used in the Lucene indexer that is 103 final int size = list.size(); 104 if (size <= 1) return; 105 getSorter(list, comp).quickSort(0, size-1); 115 final int size = list.size(); 116 if (size <= 1) return; 117 getSorter(list).quickSort(0, size-1); 129 final int size [all...] |
H A D | PriorityQueue.java | 22 * require log(size) time. 30 private int size; field in class:PriorityQueue 70 * {@link #initialize(int)} {@link #size()} times, relying on a new object to 86 size = 0; 118 size = maxSize; 123 * Adds an Object to a PriorityQueue in log(size) time. If one tries to add 130 size++; 131 heap[size] = element; 137 * Adds an Object to a PriorityQueue in log(size) time. 147 if (size < maxSiz 207 public final int size() { method in class:PriorityQueue [all...] |
H A D | OpenBitSetDISI.java | 29 * Also give a maximum size one larger than the largest doc id for which a 37 /** Construct an OpenBitSetDISI with no bits set, and a given maximum size 48 * These doc ids should be smaller than the maximum size passed to the 53 long size = size(); 54 while ((doc = disi.nextDoc()) < size) { 62 * These doc ids should be smaller than the maximum size passed to the 73 clear(bitSetDoc, size()); 80 * These doc ids should be smaller than the maximum size passed to the 85 long size [all...] |
H A D | ScorerDocQueue.java | 29 require log(size) time. The ordering is by Scorer.doc(). 36 private int size; field in class:ScorerDocQueue 54 /** Create a ScorerDocQueue with a maximum size. */ 57 size = 0; 65 * Adds a Scorer to a ScorerDocQueue in log(size) time. 70 size++; 71 heap[size] = new HeapedScorerDoc(scorer); 76 * Adds a Scorer to the ScorerDocQueue in log(size) time if either 82 if (size < maxSize) { 87 if ((size > 174 public final int size() { method in class:ScorerDocQueue [all...] |
H A D | BitVector.java | 40 private int size; field in class:BitVector 45 size = n; 46 bits = new byte[getNumBytes(size)]; 50 BitVector(byte[] bits, int size) { argument 52 this.size = size; 56 private int getNumBytes(int size) { argument 57 int bytesLength = size >>> 3; 58 if ((size & 7) != 0) { 68 BitVector clone = new BitVector(copyBits, size); 119 public final int size() { method in class:BitVector [all...] |
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/analysis/ |
H A D | BaseCharFilter.java | 67 private int size = 0; field in class:BaseCharFilter 80 int hi = size - 1; 105 0 : diffs[size-1]; 125 } else if (size == offsets.length) { 130 assert (size == 0 || off >= offsets[size]) 131 : "Offset #" + size + "(" + off + ") is less than the last recorded offset " 132 + offsets[size] + "\n" + Arrays.toString(offsets) + "\n" + Arrays.toString(diffs); 134 if (size == 0 || off != offsets[size [all...] |
/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/util/collections/ |
H A D | IntArray.java | 38 private int size; field in class:IntArray 47 * Construct a default IntArray, size 0 and surly a sort should not occur. 54 size = 0; 70 for (int i = 0; i < size; ++i) { 76 this.size = newSize; 92 if (this.size > other.size) { 93 while (otherIndex < other.size && myIndex < size) { 94 while (otherIndex < other.size 138 public int size() { method in class:IntArray [all...] |
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/store/ |
H A D | RAMFile.java | 61 protected final byte[] addBuffer(int size) { argument 62 byte[] buffer = newBuffer(size); 65 sizeInBytes += size; 69 directory.sizeInBytes.getAndAdd(size); 79 return buffers.size(); 85 * @param size size of allocated buffer. 88 protected byte[] newBuffer(int size) { argument 89 return new byte[size];
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/ |
H A D | TopTermsRewrite.java | 33 private final int size; field in class:TopTermsRewrite 37 * at most <code>size</code> terms. 40 * <code>size</code>, then it will be used instead. 42 public TopTermsRewrite(int size) { argument 43 this.size = size; 46 /** return the maximum priority queue size */ 48 return size; 51 /** return the maximum size of the priority queue (for boolean rewrites this is BooleanQuery#getMaxClauseCount). */ 56 final int maxSize = Math.min(size, getMaxSiz [all...] |
/lucene-3.6.0/lucene/contrib/spellchecker/src/java/org/apache/lucene/search/spell/ |
H A D | SuggestWordQueue.java | 41 * @param size The size of the queue 43 public SuggestWordQueue (int size) { argument 44 initialize(size); 49 * Specify the size of the queue and the comparator to use for sorting. 50 * @param size The size 53 public SuggestWordQueue(int size, Comparator<SuggestWord> comparator){ argument 54 initialize(size);
|
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/analysis/ |
H A D | TestCharArrayMap.java | 57 assertEquals(hmap.size(), map.size()); 75 assertEquals(hm.size(), cm.size()); 78 assertEquals(hm.size(), cm.size()); 88 assertEquals(hm.size(), n); 89 assertEquals(hm.size(), cs.size()); 90 assertEquals(cm.size(), c [all...] |
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/analysis/ |
H A D | TestCharArrayMap.java | 57 assertEquals(hmap.size(), map.size()); 75 assertEquals(hm.size(), cm.size()); 78 assertEquals(hm.size(), cm.size()); 88 assertEquals(hm.size(), n); 89 assertEquals(hm.size(), cs.size()); 90 assertEquals(cm.size(), c [all...] |
/lucene-3.6.0/lucene/site/build/site/skin/ |
H A D | basic.css | 56 font-size: 90%; 69 font-size: 90%; 88 font-size: 100%; 93 font-size: 95%; 96 font-size: 70%; 99 font-size: 80%; 102 font-size: 70%; 115 font-size: 1.4em; 118 font-size: 160%; 127 h2 { font-size [all...] |
/lucene-3.6.0/lucene/site/src/documentation/skins/lucene/css/ |
H A D | basic.css | 56 font-size: 90%; 69 font-size: 90%; 88 font-size: 100%; 93 font-size: 95%; 96 font-size: 70%; 99 font-size: 80%; 102 font-size: 70%; 115 font-size: 1.4em; 118 font-size: 160%; 127 h2 { font-size [all...] |
/lucene-3.6.0/solr/core/src/test/org/apache/solr/spelling/ |
H A D | SpellingQueryConverterTest.java | 44 assertTrue("tokens Size: " + tokens.size() + " is not: " + 1, tokens.size() == 1); 55 assertEquals("tokens Size: " + tokens.size() + " is not 1", 1, tokens.size()); 61 assertEquals("tokens Size: " + tokens.size() + " is not 1", 1, tokens.size()); 67 assertEquals("tokens Size: " + tokens.size() + " is not 1", 1, tokens.size()); 74 // assertEquals("tokens Size: " + tokens.size() + " is not 1", 1, tokens.size()); [all...] |
/lucene-3.6.0/lucene/contrib/analyzers/common/src/test/org/apache/lucene/analysis/hunspell/ |
H A D | HunspellStemmerTest.java | 42 assertEquals(2, stems.size()); 47 assertEquals(1, stems.size()); 55 assertEquals(1, stems.size()); 63 assertEquals(1, stems.size()); 73 assertEquals(1, stems.size()); 77 assertEquals(1, stems.size()); 81 assertEquals(1, stems.size()); 85 assertEquals(1, stems.size()); 89 assertEquals(1, stems.size()); 93 assertEquals(1, stems.size()); [all...] |
/lucene-3.6.0/lucene/contrib/facet/src/test/org/apache/lucene/util/collections/ |
H A D | TestLRUHashMap.java | 26 // testLRU() tests that the specified size limit is indeed honored, and 32 assertEquals(0, lru.size()); 34 assertEquals(1, lru.size()); 36 assertEquals(2, lru.size()); 38 assertEquals(3, lru.size()); 40 assertEquals(3, lru.size()); 46 assertEquals(3, lru.size()); 52 assertEquals(3, lru.size());
|
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/ |
H A D | TestPositionBasedTermVectorMapper.java | 68 assertTrue("map Size: " + map.size() + " is not: " + 1, map.size() == 1); 72 assertTrue("thePositions Size: " + positions.size() + " is not: " + numPositions, positions.size() == numPositions); 84 assertTrue("info.getTerms() Size: " + info.getTerms().size() + " is not: " + 2, info.getTerms().size() == 2);//need a test for multiple terms at one pos 85 assertTrue("info.getOffsets() Size: " + info.getOffsets().size() + " is not: " + 2, info.getOffsets().size() == 2); 89 assertTrue("info.getTerms() Size: " + info.getTerms().size() + " is not: " + 1, info.getTerms().size() [all...] |
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/index/ |
H A D | TestPositionBasedTermVectorMapper.java | 68 assertTrue("map Size: " + map.size() + " is not: " + 1, map.size() == 1); 72 assertTrue("thePositions Size: " + positions.size() + " is not: " + numPositions, positions.size() == numPositions); 84 assertTrue("info.getTerms() Size: " + info.getTerms().size() + " is not: " + 2, info.getTerms().size() == 2);//need a test for multiple terms at one pos 85 assertTrue("info.getOffsets() Size: " + info.getOffsets().size() + " is not: " + 2, info.getOffsets().size() == 2); 89 assertTrue("info.getTerms() Size: " + info.getTerms().size() + " is not: " + 1, info.getTerms().size() [all...] |
/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/ |
H A D | BitDocSet.java | 33 int size; // number of docs in the set (cached for perf) field in class:BitDocSet 43 size=-1; 49 public BitDocSet(OpenBitSet bits, int size) { argument 51 this.size = size; 124 size=-1; // invalidate size 130 size=-1; // invalidate size 133 public int size() { method in class:BitDocSet [all...] |