Searched refs:floatVal (Results 1 - 25 of 58) sorted by relevance

123

/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/function/
H A DDivFloatFunction.java38 return aVals.floatVal(doc) / bVals.floatVal(doc);
H A DPowFloatFunction.java38 return (float)Math.pow(aVals.floatVal(doc), bVals.floatVal(doc));
H A DSimpleFloatFunction.java39 public float floatVal(int doc) {
44 return (int)floatVal(doc);
48 return (long)floatVal(doc);
52 return (double)floatVal(doc);
56 return Float.toString(floatVal(doc));
H A DMaxFloatFunction.java40 val = vals.floatVal(doc);
42 val = Math.max(vals.floatVal(doc),val);
H A DMinFloatFunction.java40 val = vals.floatVal(doc);
42 val = Math.min(vals.floatVal(doc),val);
H A DLinearFloatFunction.java55 public float floatVal(int doc) {
56 return vals.floatVal(doc) * slope + intercept;
60 return (int)floatVal(doc);
64 return (long)floatVal(doc);
68 return (double)floatVal(doc);
72 return Float.toString(floatVal(doc));
H A DReciprocalFloatFunction.java65 public float floatVal(int doc) {
66 return a/(m*vals.floatVal(doc) + b);
70 return (int)floatVal(doc);
74 return (long)floatVal(doc);
78 return (double)floatVal(doc);
82 return Float.toString(floatVal(doc));
H A DScaleFloatFunction.java63 minVal = maxVal = vals.floatVal(0);
72 float val = vals.floatVal(i);
91 public float floatVal(int doc) {
92 return (vals.floatVal(doc) - minSource) * scale + min;
96 return (int)floatVal(doc);
100 return (long)floatVal(doc);
104 return (double)floatVal(doc);
108 return Float.toString(floatVal(doc));
H A DProductFloatFunction.java37 val *= vals.floatVal(doc);
H A DSumFloatFunction.java37 val += vals.floatVal(doc);
H A DDocValues.java41 public float floatVal(int doc) { throw new UnsupportedOperationException(); } method in class:DocValues
52 public void floatVal(int doc, float [] vals) { throw new UnsupportedOperationException(); } method in class:DocValues
59 return new Explanation(floatVal(doc), toString(doc));
92 float docVal = floatVal(doc);
101 float docVal = floatVal(doc);
110 float docVal = floatVal(doc);
119 float docVal = floatVal(doc);
H A DDualFloatFunction.java53 public float floatVal(int doc) {
58 return (int)floatVal(doc);
62 return (long)floatVal(doc);
66 return floatVal(doc);
70 return Float.toString(floatVal(doc));
H A DQueryValueSource.java94 public float floatVal(int doc) { method in class:QueryDocValues
126 return (int)floatVal(doc);
130 return (long)floatVal(doc);
134 return (double)floatVal(doc);
138 return Float.toString(floatVal(doc));
142 return "query(" + q + ",def=" + defVal + ")=" + floatVal(doc);
H A DRangeMapFloatFunction.java59 public float floatVal(int doc) {
60 float val = vals.floatVal(doc);
65 return (int)floatVal(doc);
69 return (long)floatVal(doc);
73 return (double)floatVal(doc);
77 return Float.toString(floatVal(doc));
H A DMultiFloatFunction.java67 public float floatVal(int doc) {
72 return (int)floatVal(doc);
76 return (long)floatVal(doc);
80 return (double)floatVal(doc);
84 return Float.toString(floatVal(doc));
H A DFloatFieldSource.java59 public float floatVal(int doc) {
85 return description() + '=' + floatVal(doc);
H A DTopValueSource.java64 public float floatVal(int doc) {
65 return vals.floatVal(doc + off);
H A DVectorValueSource.java87 public void floatVal(int doc, float[] vals) {
88 vals[0] = x.floatVal(doc);
89 vals[1] = y.floatVal(doc);
130 public void floatVal(int doc, float[] vals) {
132 vals[i] = valsArr[i].floatVal(doc);
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/function/
H A DDocValues.java47 public abstract float floatVal(int doc); method in class:DocValues
55 return (int) floatVal(doc);
64 return (long) floatVal(doc);
73 return floatVal(doc);
82 return Float.toString(floatVal(doc));
94 return new Explanation(floatVal(doc), toString(doc));
128 val = floatVal(n);
H A DByteFieldSource.java73 /*(non-Javadoc) @see org.apache.lucene.search.function.DocValues#floatVal(int) */
75 public float floatVal(int doc) {
H A DFloatFieldSource.java73 /*(non-Javadoc) @see org.apache.lucene.search.function.DocValues#floatVal(int) */
75 public float floatVal(int doc) {
H A DIntFieldSource.java73 /*(non-Javadoc) @see org.apache.lucene.search.function.DocValues#floatVal(int) */
75 public float floatVal(int doc) {
/lucene-3.6.0/solr/core/src/java/org/apache/solr/schema/
H A DSortableFloatField.java127 public float floatVal(int doc) {
134 return (int)floatVal(doc);
139 return (long)floatVal(doc);
144 return (double)floatVal(doc);
149 return Float.toString(floatVal(doc));
154 return description() + '=' + floatVal(doc);
/lucene-3.6.0/solr/core/src/test/org/apache/solr/search/function/
H A DNvlValueSourceParser.java58 float v = vals.floatVal(doc);
/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/function/distance/
H A DStringDistanceFunction.java57 public float floatVal(int doc) {
73 return (double) floatVal(doc);

Completed in 70 milliseconds

123