/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/ |
H A D | TermInfo.java | 32 TermInfo(int df, long fp, long pp) { argument 33 docFreq = df;
|
H A D | MultiLevelSkipListWriter.java | 33 * 3 6 9 12 15 18 21 24 27 30 (df) 40 * Therefore the number of entries on level i is: floor(df / ((skipInterval ^ (i + 1))). 59 protected MultiLevelSkipListWriter(int skipInterval, int maxSkipLevels, int df) { argument 63 numberOfSkipLevels = df == 0 ? 0 : (int) Math.floor(Math.log(df) / Math.log(skipInterval)); 101 * @param df the current document frequency 104 void bufferSkip(int df) throws IOException { argument 108 for (numLevels = 0; (df % skipInterval) == 0 && numLevels < numberOfSkipLevels; df /= skipInterval) {
|
H A D | DefaultSkipListReader.java | 48 void init(long skipPointer, long freqBasePointer, long proxBasePointer, int df, boolean storesPayloads) { argument 49 super.init(skipPointer, df);
|
H A D | FormatPostingsDocsWriter.java | 74 int df; field in class:FormatPostingsDocsWriter 83 if (docID < 0 || (df > 0 && delta <= 0)) 86 if ((++df % skipInterval) == 0) { 89 skipListWriter.bufferSkip(df); 117 termInfo.set(df, parent.freqStart, parent.proxStart, (int) (skipPointer - parent.freqStart)); 122 if (df > 0) { 130 df = 0;
|
H A D | SegmentTermDocs.java | 29 protected int df; field in class:SegmentTermDocs 93 df = 0; 95 df = ti.docFreq; 119 if (count == df) 151 while (i < length && count < df) { 173 while (i < length && count < df) { 195 if ((target - skipInterval) >= doc && df >= skipInterval) { // optimized case 200 skipListReader.init(skipPointer, freqBasePointer, proxBasePointer, df, currentFieldStoresPayloads);
|
H A D | MultiLevelSkipListReader.java | 170 void init(long skipPointer, int df) { argument 172 this.docCount = df;
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/util/ |
H A D | CommonParams.java | 39 public String df = null; field in class:CommonParams 95 df = tmp.toString();
|
/lucene-3.6.0/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/feeds/ |
H A D | ReutersContentSource.java | 47 DateFormat df; field in class:ReutersContentSource.DateFormatInfo 78 dfi.df = new SimpleDateFormat("dd-MMM-yyyy kk:mm:ss.SSS",Locale.US); 79 dfi.df.setLenient(true); 90 return dfi.df.parse(dateStr.trim(), dfi.pos);
|
H A D | DirContentSource.java | 49 DateFormat df; field in class:DirContentSource.DateFormatInfo 165 dfi.df = new SimpleDateFormat("dd-MMM-yyyy kk:mm:ss.SSS", Locale.US); 166 dfi.df.setLenient(true); 176 return dfi.df.parse(dateStr.trim(), dfi.pos);
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/handler/admin/ |
H A D | SystemInfoHandler.java | 206 DecimalFormat df = new DecimalFormat("#.#"); 210 mem.add("free", humanReadableUnits(runtime.freeMemory(), df)); 211 mem.add("total", humanReadableUnits(runtime.totalMemory(), df)); 212 mem.add("max", humanReadableUnits(runtime.maxMemory(), df)); 213 mem.add("used", humanReadableUnits(used, df) + " (%" + df.format(percentUsed) + ")"); 314 private static String humanReadableUnits(long bytes, DecimalFormat df) { argument 318 newSizeAndUnits = String.valueOf(df.format((float)bytes / ONE_GB)) + " GB"; 320 newSizeAndUnits = String.valueOf(df.format((float)bytes / ONE_MB)) + " MB"; 322 newSizeAndUnits = String.valueOf(df [all...] |
H A D | LukeRequestHandler.java | 159 info.add( "NOTE", "Document Frequency (df) is not updated when a document is marked for deletion. df values include deleted documents." ); 647 TermInfo(Term t, int df) { argument 649 docFreq = df;
|
/lucene-3.6.0/lucene/contrib/misc/src/java/org/apache/lucene/misc/ |
H A D | HighFreqTerms.java | 187 public TermStats(Term t, int df) { argument 189 this.docFreq = df; 192 public TermStats(Term t, int df, long tf) { argument 194 this.docFreq = df;
|
/lucene-3.6.0/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/quality/utils/ |
H A D | QualityQueriesFinder.java | 96 int df = terms.docFreq(); 97 if (df<threshold) { 99 pq.insertWithOverflow(new TermDf(ttxt,df)); 110 System.out.println(i+". word: "+tdf.df+" "+tdf.word); 117 int df; field in class:QualityQueriesFinder.TermDf 120 this.df = freq; 130 return tf1.df < tf2.df;
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/ |
H A D | ValueSourceParser.java | 602 DateField df = new TrieDateField(); field in class:DateValueSourceParser 611 return df.parseMathLenient(null, arg, fp.req);
|
/lucene-3.6.0/solr/test-framework/src/java/org/apache/solr/ |
H A D | BaseDistributedSearchTestCase.java | 601 public static TrieDateField df = new TrieDateField(); field in class:BaseDistributedSearchTestCase.RandDate 607 return df.toExternal(d);
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/util/ |
H A D | RamUsageEstimator.java | 583 public static String humanReadableUnits(long bytes, DecimalFormat df) { argument 585 return df.format((float) bytes / ONE_GB) + " GB"; 587 return df.format((float) bytes / ONE_MB) + " MB"; 589 return df.format((float) bytes / ONE_KB) + " KB";
|