/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/ |
H A D | DocFieldConsumerPerField.java | 25 abstract void processFields(Fieldable[] fields, int count) throws IOException; argument
|
H A D | DocInverterPerField.java | 65 final int count) throws IOException { 71 final boolean doInvert = consumer.start(fields, count); 73 for(int i=0;i<count;i++) { 64 processFields(final Fieldable[] fields, final int count) argument
|
H A D | InvertedDocConsumerPerField.java | 30 abstract boolean start(Fieldable[] fields, int count) throws IOException; argument
|
H A D | TermsHashConsumerPerField.java | 30 abstract boolean start(Fieldable[] fields, int count) throws IOException; argument
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/util/ |
H A D | Counter.java | 66 private long count = 0; field in class:Counter.SerialCounter 70 return count += delta; 75 return count; 80 private final AtomicLong count = new AtomicLong(); field in class:Counter.AtomicCounter 84 return count.addAndGet(delta); 89 return count.get();
|
H A D | RollingCharBuffer.java | 44 private int count; field in class:RollingCharBuffer 54 count = 0; 64 //System.out.println(" get pos=" + pos + " nextPos=" + nextPos + " count=" + count); 74 if (count == buffer.length) { 76 final char[] newBuffer = new char[ArrayUtil.oversize(1+count, RamUsageEstimator.NUM_BYTES_CHAR)]; 87 count++; 95 assert nextPos - pos <= count: "nextPos=" + nextPos + " pos=" + pos + " count=" + count; [all...] |
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/util/ |
H A D | TestPriorityQueue.java | 25 public IntegerQueue(int count) { argument 27 initialize(count); 40 public static void testPQ(int count, Random gen) { argument 41 PriorityQueue<Integer> pq = new IntegerQueue(count); 44 for (int i = 0; i < count; i++) 53 // System.out.print(((float)(end.getTime()-start.getTime()) / count) * 1000); 59 for (int i = 0; i < count; i++) 70 // System.out.print(((float)(end.getTime()-start.getTime()) / count) * 1000);
|
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/util/ |
H A D | TestPriorityQueue.java | 25 public IntegerQueue(int count) { argument 27 initialize(count); 40 public static void testPQ(int count, Random gen) { argument 41 PriorityQueue<Integer> pq = new IntegerQueue(count); 44 for (int i = 0; i < count; i++) 53 // System.out.print(((float)(end.getTime()-start.getTime()) / count) * 1000); 59 for (int i = 0; i < count; i++) 70 // System.out.print(((float)(end.getTime()-start.getTime()) / count) * 1000);
|
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/sinks/ |
H A D | TokenRangeSinkFilter.java | 32 private int count; field in class:TokenRangeSinkFilter 43 if (count >= lower && count < upper){ 48 count++; 54 count = 0;
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/handler/component/ |
H A D | StatsValues.java | 49 * @param count number of times to accumulate this value 51 void accumulate(String value, int count); argument 61 * @param count number of times to count a missing value 63 void addMissing(int count); argument
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/spelling/ |
H A D | SpellingOptions.java | 43 public int count = 1; field in class:SpellingOptions 68 public SpellingOptions(Collection<Token> tokens, int count) { argument 70 this.count = count; 78 public SpellingOptions(Collection<Token> tokens, IndexReader reader, int count) { argument 81 this.count = count; 85 public SpellingOptions(Collection<Token> tokens, IndexReader reader, int count, boolean onlyMorePopular, boolean extendedResults, float accuracy, SolrParams customParams) { argument 88 this.count = count; [all...] |
/lucene-3.6.0/solr/solrj/src/test/org/apache/solr/client/solrj/ |
H A D | LargeVolumeTestBase.java | 65 private void query(int count) throws SolrServerException, IOException { argument 70 assertEquals(count, response.getResults().getNumFound());
|
/lucene-3.6.0/lucene/contrib/grouping/src/java/org/apache/lucene/search/grouping/ |
H A D | SentinelIntSet.java | 29 public int count; field in class:SentinelIntSet 31 public int rehashCount; // the count at which a rehash should be done 53 count = 0; 60 public int size() { return count; } 99 count++; 100 if (count >= rehashCount) {
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/util/fst/ |
H A D | NodeHash.java | 26 private int count; field in class:NodeHash 113 // System.out.println("hash: add count=" + count + " vs " + table.length); 125 count++; 127 if (table.length < 2*count) { 168 public int count() { method in class:NodeHash 169 return count;
|
/lucene-3.6.0/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/stats/ |
H A D | Points.java | 81 public synchronized void markTaskEnd (TaskStats stats, int count) { argument 85 stats.markEnd(numParallelTasks, count);
|
/lucene-3.6.0/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/utils/ |
H A D | ExtractWikipedia.java | 37 static public int count = 0; field in class:ExtractWikipedia 52 public File directory(int count, File directory) { argument 57 while (base <= count) { 60 if (count < BASE) { 64 directory = new File(directory, (Integer.toString(count / (base / BASE)))); 65 return directory(count % (base / BASE), directory); 70 File d = directory(count++, null);
|
/lucene-3.6.0/solr/core/src/test/org/apache/solr/handler/component/ |
H A D | DummyCustomParamSpellChecker.java | 50 public SpellingResult getSuggestions(Collection<Token> tokens, IndexReader reader, int count, boolean onlyMorePopular, boolean extendedResults) throws IOException { argument 51 return getSuggestions(new SpellingOptions(tokens, reader, count, onlyMorePopular, extendedResults, 0, null));
|
/lucene-3.6.0/solr/core/src/test/org/apache/solr/search/ |
H A D | SpatialFilterTest.java | 138 private void checkHits(String fieldName, String pt, double distance, int count, int ... docIds) { argument 139 checkHits(fieldName, true, pt, distance, count, docIds); 142 private void checkHits(String fieldName, boolean exact, String pt, double distance, int count, int ... docIds) { argument 144 tests[0] = "*[count(//doc)=" + count + "]";
|
/lucene-3.6.0/solr/solrj/src/java/org/apache/solr/client/solrj/request/ |
H A D | LukeRequest.java | 89 public void setNumTerms(int count) { argument 90 this.numTerms = count;
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/ |
H A D | PhrasePositions.java | 29 int count; // remaining pos in this doc field in class:PhrasePositions 69 count = tp.freq(); // read first pos 80 if (count-- > 0) { // read subsequent pos's 90 String s = "d:"+doc+" o:"+offset+" p:"+position+" c:"+count;
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/spans/ |
H A D | TermSpans.java | 35 protected int count; field in class:TermSpans 48 if (count == freq) { 55 count = 0; 58 count++; 71 count = 0; 74 count++;
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/store/ |
H A D | ByteArrayDataInput.java | 64 public void skipBytes(int count) { argument 65 pos += count;
|
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/analysis/ |
H A D | TestTeeSinkTokenFilter.java | 194 int count = 0; field in class:TestTeeSinkTokenFilter.ModuloTokenFilter 201 hasNext && count % modCount != 0; 203 count++; 205 count++; 211 int count = 0; field in class:TestTeeSinkTokenFilter.ModuloSinkFilter 220 boolean b = (a != null && count % modCount == 0); 221 count++;
|
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/ |
H A D | TestAtomicUpdate.java | 49 int count; field in class:TestAtomicUpdate.TimedThread 63 count = 0; 69 count++; 99 d.add(new Field("contents", English.intToEnglish(i+10*count), Field.Store.NO, Field.Index.ANALYZED)); 179 //System.out.println(" Writer: " + indexerThread.count + " iterations"); 180 //System.out.println("Searcher 1: " + searcherThread1.count + " searchers created"); 181 //System.out.println("Searcher 2: " + searcherThread2.count + " searchers created");
|
H A D | TestIndexWriterUnicode.java | 70 private boolean fillUnicode(char[] buffer, char[] expected, int offset, int count) { argument 71 final int len = offset + count; 218 final int count = utf8Data.length/2; 219 for(int i=0;i<count;i++) 226 for(int i=0;i<count;i++) {
|