Searched defs:df (Results 1 - 16 of 16) sorted by relevance

/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/
H A DTermInfo.java32 TermInfo(int df, long fp, long pp) { argument
33 docFreq = df;
H A DMultiLevelSkipListWriter.java33 * 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 DDefaultSkipListReader.java48 void init(long skipPointer, long freqBasePointer, long proxBasePointer, int df, boolean storesPayloads) { argument
49 super.init(skipPointer, df);
H A DFormatPostingsDocsWriter.java74 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 DSegmentTermDocs.java29 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 DMultiLevelSkipListReader.java170 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 DCommonParams.java39 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 DReutersContentSource.java47 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 DDirContentSource.java49 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 DSystemInfoHandler.java206 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 DLukeRequestHandler.java159 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 DHighFreqTerms.java187 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 DQualityQueriesFinder.java96 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 DValueSourceParser.java602 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 DBaseDistributedSearchTestCase.java601 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 DRamUsageEstimator.java583 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";

Completed in 109 milliseconds