Searched defs:min (Results 1 - 21 of 21) sorted by relevance

/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/analysis/
H A DLengthFilter.java32 private final int min; field in class:LengthFilter
41 public LengthFilter(boolean enablePositionIncrements, TokenStream in, int min, int max) { argument
43 this.min = min;
53 public LengthFilter(TokenStream in, int min, int max) { argument
54 this(false, in, min, max);
60 return (len >= min && len <= max);
/lucene-3.6.0/solr/core/src/java/org/apache/solr/analysis/
H A DLengthFilterFactory.java31 * &lt;filter class="solr.LengthFilterFactory" min="0" max="1" enablePositionIncrements="false"/&gt;
37 int min,max; field in class:LengthFilterFactory
39 public static final String MIN_KEY = "min";
45 min=Integer.parseInt(args.get(MIN_KEY));
51 return new LengthFilter(enablePositionIncrements, input,min,max);
/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/function/
H A DScaleFloatFunction.java27 * Scales values to be between min and max.
29 * their min and max.
33 * still end up with 0.0 as the min value to map from. In these cases, an
39 protected final float min; field in class:ScaleFloatFunction
42 public ScaleFloatFunction(ValueSource source, float min, float max) { argument
44 this.min = min;
50 return "scale(" + source.description() + "," + min + "," + max + ")";
66 // Traverse the complete set of values to get the min and the max.
67 // Future alternatives include being able to ask a DocValues for min/ma
[all...]
H A DRangeMapFloatFunction.java36 protected final float min; field in class:RangeMapFloatFunction
41 public RangeMapFloatFunction(ValueSource source, float min, float max, float target, Float def) { argument
43 this.min = min;
51 return "map(" + source.description() + "," + min + "," + max + "," + target + ")";
61 return (val>=min && val<=max) ? target : (defaultVal == null ? val : defaultVal);
81 return "map(" + vals.toString(doc) + ",min=" + min + ",max=" + max + ",target=" + target + ")";
95 h += Float.floatToIntBits(min);
109 return this.min
[all...]
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/
H A DNumericRangeFilter.java54 * by setting the min or max value to <code>null</code>. By setting inclusive to false, it will
58 Long min, Long max, final boolean minInclusive, final boolean maxInclusive
61 NumericRangeQuery.newLongRange(field, precisionStep, min, max, minInclusive, maxInclusive)
69 * by setting the min or max value to <code>null</code>. By setting inclusive to false, it will
73 Long min, Long max, final boolean minInclusive, final boolean maxInclusive
76 NumericRangeQuery.newLongRange(field, min, max, minInclusive, maxInclusive)
84 * by setting the min or max value to <code>null</code>. By setting inclusive to false, it will
88 Integer min, Integer max, final boolean minInclusive, final boolean maxInclusive
91 NumericRangeQuery.newIntRange(field, precisionStep, min, max, minInclusive, maxInclusive)
99 * by setting the min o
57 newLongRange(final String field, final int precisionStep, Long min, Long max, final boolean minInclusive, final boolean maxInclusive ) argument
72 newLongRange(final String field, Long min, Long max, final boolean minInclusive, final boolean maxInclusive ) argument
87 newIntRange(final String field, final int precisionStep, Integer min, Integer max, final boolean minInclusive, final boolean maxInclusive ) argument
102 newIntRange(final String field, Integer min, Integer max, final boolean minInclusive, final boolean maxInclusive ) argument
119 newDoubleRange(final String field, final int precisionStep, Double min, Double max, final boolean minInclusive, final boolean maxInclusive ) argument
136 newDoubleRange(final String field, Double min, Double max, final boolean minInclusive, final boolean maxInclusive ) argument
153 newFloatRange(final String field, final int precisionStep, Float min, Float max, final boolean minInclusive, final boolean maxInclusive ) argument
170 newFloatRange(final String field, Float min, Float max, final boolean minInclusive, final boolean maxInclusive ) argument
[all...]
H A DPhraseScorer.java36 PhrasePositions min, max; field in class:PhraseScorer
52 min = new PhrasePositions(postings[0].postings, postings[0].position, 0, postings[0].terms);
53 max = min;
61 max.next = min; // make it cyclic for easier manipulation
76 if (!min.skipTo(target)) {
80 min = min.next; // cyclic
100 while (min.doc < max.doc || restart) {
H A DBooleanQuery.java106 * @param min the number of optional clauses that must match
108 public void setMinimumNumberShouldMatch(int min) { argument
109 this.minNrShouldMatch = min;
H A DNumericRangeQuery.java157 T min, T max, final boolean minInclusive, final boolean maxInclusive
164 this.min = min;
194 if (min != null && min.equals(max)) {
203 * by setting the min or max value to <code>null</code>. By setting inclusive to false, it will
207 Long min, Long max, final boolean minInclusive, final boolean maxInclusive
209 return new NumericRangeQuery<Long>(field, precisionStep, DataType.LONG, min, max, minInclusive, maxInclusive);
216 * by setting the min or max value to <code>null</code>. By setting inclusive to false, it will
220 Long min, Lon
156 NumericRangeQuery(final String field, final int precisionStep, final DataType dataType, T min, T max, final boolean minInclusive, final boolean maxInclusive ) argument
206 newLongRange(final String field, final int precisionStep, Long min, Long max, final boolean minInclusive, final boolean maxInclusive ) argument
219 newLongRange(final String field, Long min, Long max, final boolean minInclusive, final boolean maxInclusive ) argument
232 newIntRange(final String field, final int precisionStep, Integer min, Integer max, final boolean minInclusive, final boolean maxInclusive ) argument
245 newIntRange(final String field, Integer min, Integer max, final boolean minInclusive, final boolean maxInclusive ) argument
260 newDoubleRange(final String field, final int precisionStep, Double min, Double max, final boolean minInclusive, final boolean maxInclusive ) argument
275 newDoubleRange(final String field, Double min, Double max, final boolean minInclusive, final boolean maxInclusive ) argument
290 newFloatRange(final String field, final int precisionStep, Float min, Float max, final boolean minInclusive, final boolean maxInclusive ) argument
305 newFloatRange(final String field, Float min, Float max, final boolean minInclusive, final boolean maxInclusive ) argument
388 final T min, max; field in class:NumericRangeQuery
[all...]
/lucene-3.6.0/solr/solrj/src/java/org/apache/solr/client/solrj/response/
H A DFieldStatsInfo.java36 Double min; field in class:FieldStatsInfo
52 if( "min".equals( entry.getKey() ) ) {
53 min = (Double)entry.getValue();
101 if( min != null ) {
102 sb.append( " min:").append( min );
131 return min;
/lucene-3.6.0/lucene/contrib/misc/src/java/org/apache/lucene/misc/
H A DSweetSpotSimilarity.java31 * For lengthNorm, A global min/max can be specified to define the
33 * Below the min, and above the max the lengthNorm drops off in a
37 * A per field min/max can be specified if different fields have
76 public void setBaselineTfFactors(float base, float min) { argument
77 tf_min = min;
84 * @param min the minimum tf value to ever be returned (default: 0.0)
90 public void setHyperbolicTfFactors(float min, float max, argument
92 tf_hyper_min = min;
104 public void setLengthNormFactors(int min, int max, float steepness) { argument
105 this.ln_min = min;
124 setLengthNormFactors(String field, int min, int max, float steepness, boolean discountOverlaps) argument
[all...]
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/pt/
H A DRSLPStemmerBase.java53 * <li><code>N</code> is the min stem size, where stem is defined as the candidate stem
69 * <li><code>N</code> is the min word size. Words that are less than this length bypass
92 protected final int min; field in class:RSLPStemmerBase.Rule
97 * @param min minimum stem length
100 public Rule(String suffix, int min, String replacement) { argument
103 this.min = min;
110 return (len - suffix.length >= min && endsWith(s, len, suffix));
130 public RuleWithSetExceptions(String suffix, int min, String replacement, argument
132 super(suffix, min, replacemen
154 RuleWithSuffixExceptions(String suffix, int min, String replacement, String[] exceptions) argument
185 protected final int min; field in class:RSLPStemmerBase.Step
195 Step(String name, Rule rules[], int min, String suffixes[]) argument
[all...]
/lucene-3.6.0/solr/core/src/java/org/apache/solr/handler/component/
H A DStatsValuesFactory.java75 protected T min; field in class:AbstractStatsValues
93 updateMinMax((T) stv.get("min"), (T) stv.get("max"));
168 res.add("min", min);
190 * @param min Value that the current minimum should be updated against
193 protected abstract void updateMinMax(T min, T max); argument
243 min = Double.POSITIVE_INFINITY;
276 protected void updateMinMax(Number min, Number max) { argument
277 this.min = Math.min(thi
353 updateMinMax(Date min, Date max) argument
423 updateMinMax(String min, String max) argument
465 private static String min(String str1, String str2) { method in class:StringStatsValues
[all...]
/lucene-3.6.0/solr/core/src/java/org/apache/solr/schema/
H A DTrieDateField.java124 public Query getRangeQuery(QParser parser, SchemaField field, String min, String max, boolean minInclusive, boolean maxInclusive) { argument
125 return wrappedField.getRangeQuery(parser, field, min, max, minInclusive, maxInclusive);
129 public Query getRangeQuery(QParser parser, SchemaField sf, Date min, Date max, boolean minInclusive, boolean maxInclusive) { argument
131 min == null ? null : min.getTime(),
H A DTrieField.java229 public Query getRangeQuery(QParser parser, SchemaField field, String min, String max, boolean minInclusive, boolean maxInclusive) { argument
235 min == null ? null : Integer.parseInt(min),
241 min == null ? null : Float.parseFloat(min),
247 min == null ? null : Long.parseLong(min),
253 min == null ? null : Double.parseDouble(min),
259 min
[all...]
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/spans/
H A DNearSpansUnordered.java159 if (min().next()) { // trigger further scanning
170 if (min().doc() != max.doc()) { // maintain list
196 more = min().next();
216 while (more && min().doc() < target) { // skip as needed
217 if (min().skipTo(target)) {
227 private SpansCell min() { return queue.top(); } method in class:NearSpansUnordered
230 public int doc() { return min().doc(); }
232 public int start() { return min().start(); }
256 SpansCell pointer = min();
315 return (min()
[all...]
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/util/
H A DNumericUtils.java441 public void addRange(final long min, final long max, final int shift) { argument
442 addRange(longToPrefixCoded(min, shift), longToPrefixCoded(max, shift));
467 public void addRange(final int min, final int max, final int shift) { argument
468 addRange(intToPrefixCoded(min, shift), intToPrefixCoded(max, shift));
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/tartarus/snowball/
H A DSnowballProgram.java141 protected boolean in_grouping(char [] s, int min, int max) argument
145 if (ch > max || ch < min) return false;
146 ch -= min;
152 protected boolean in_grouping_b(char [] s, int min, int max) argument
156 if (ch > max || ch < min) return false;
157 ch -= min;
163 protected boolean out_grouping(char [] s, int min, int max) argument
167 if (ch > max || ch < min) {
171 ch -= min;
179 protected boolean out_grouping_b(char [] s, int min, in argument
195 in_range(int min, int max) argument
204 in_range_b(int min, int max) argument
213 out_range(int min, int max) argument
222 out_range_b(int min, int max) argument
[all...]
/lucene-3.6.0/solr/test-framework/src/java/org/apache/solr/
H A DSolrTestCaseJ4.java701 protected int between(int min, int max) { argument
702 return min != max ? random.nextInt(max-min+1) + min : min;
711 final int min; field in class:SolrTestCaseJ4.IRange
713 public IRange(int min, int max) { argument
714 this.min = min;
720 return between(min,ma
730 final float min; field in class:SolrTestCaseJ4.FVal
732 FVal(float min, float max) argument
[all...]
/lucene-3.6.0/lucene/site/build/site/skin/
H A Dprototype.js292 min: function(iterator) {
/lucene-3.6.0/lucene/site/src/documentation/skins/common/scripts/
H A Dprototype.js292 min: function(iterator) {
/lucene-3.6.0/solr/client/ruby/flare/public/javascripts/
H A Dprototype.js445 min: function(iterator) {

Completed in 104 milliseconds