Searched refs:minSimilarity (Results 1 - 17 of 17) sorted by relevance

/lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/standard/config/
H A DFuzzyConfig.java26 private float minSimilarity = FuzzyQuery.defaultMinSimilarity; field in class:FuzzyConfig
39 return minSimilarity;
42 public void setMinSimilarity(float minSimilarity) { argument
43 this.minSimilarity = minSimilarity;
H A DFuzzyAttribute.java37 public void setFuzzyMinSimilarity(float minSimilarity); argument
H A DFuzzyAttributeImpl.java62 public void setFuzzyMinSimilarity(float minSimilarity) { argument
63 getFuzzyConfig().setMinSimilarity(minSimilarity);
115 + ",minSimilarity=" + fuzzyConfig.getMinSimilarity() + "/>";
/lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/core/nodes/
H A DFuzzyQueryNode.java45 * @param minSimilarity
53 float minSimilarity, int begin, int end) {
55 this.similarity = minSimilarity;
52 FuzzyQueryNode(CharSequence field, CharSequence term, float minSimilarity, int begin, int end) argument
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/
H A DFuzzyTermEnum.java51 * Creates a FuzzyTermEnum with an empty prefix and a minSimilarity of 0.5f.
73 * @param minSimilarity
77 public FuzzyTermEnum(IndexReader reader, Term term, float minSimilarity) throws IOException { argument
78 this(reader, term, minSimilarity, FuzzyQuery.defaultPrefixLength);
84 * <code>minSimilarity</code>.
91 * @param minSimilarity Minimum required similarity for terms from the reader. Default value is 0.5f.
95 public FuzzyTermEnum(IndexReader reader, Term term, final float minSimilarity, final int prefixLength) throws IOException { argument
98 if (minSimilarity >= 1.0f)
100 else if (minSimilarity < 0.0f)
105 this.minimumSimilarity = minSimilarity;
[all...]
/lucene-3.6.0/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/
H A DFuzzyLikeThisQueryBuilder.java54 float minSimilarity=DOMUtils.getAttribute(fieldElem,"minSimilarity",defaultMinSimilarity);
59 fbq.addTerms(value,fieldName,minSimilarity,prefixLength);
/lucene-3.6.0/lucene/contrib/queries/src/java/org/apache/lucene/search/
H A DFuzzyLikeThisQuery.java117 float minSimilarity; field in class:FuzzyLikeThisQuery.FieldVals
122 minSimilarity = similarity;
133 result = prime * result + Float.floatToIntBits(minSimilarity);
154 if (Float.floatToIntBits(minSimilarity) != Float
155 .floatToIntBits(other.minSimilarity))
175 * @param minSimilarity The minimum similarity of the term variants (see FuzzyTermEnum)
178 public void addTerms(String queryString, String fieldName,float minSimilarity, int prefixLength) argument
180 fieldVals.add(new FieldVals(fieldName,minSimilarity,prefixLength,queryString));
203 FuzzyTermEnum fe=new FuzzyTermEnum(reader,startTerm,f.minSimilarity,f.prefixLength);
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/queryParser/
H A DMultiFieldQueryParser.java164 protected Query getFuzzyQuery(String field, String termStr, float minSimilarity) throws ParseException argument
169 clauses.add(new BooleanClause(getFuzzyQuery(fields[i], termStr, minSimilarity),
174 return super.getFuzzyQuery(field, termStr, minSimilarity);
H A DQueryParser.jj1067 protected Query getFuzzyQuery(String field, String termStr, float minSimilarity) throws ParseException
1073 return newFuzzyQuery(t, minSimilarity, fuzzyPrefixLength);
H A DQueryParser.java1043 protected Query getFuzzyQuery(String field, String termStr, float minSimilarity) throws ParseException argument
1049 return newFuzzyQuery(t, minSimilarity, fuzzyPrefixLength);
/lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/analyzing/
H A DAnalyzingQueryParser.java249 protected Query getFuzzyQuery(String field, String termStr, float minSimilarity) argument
280 return (nextToken == null) ? null : super.getFuzzyQuery(field, nextToken, minSimilarity);
/lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/complexPhrase/
H A DComplexPhraseQueryParser.java187 float minSimilarity) throws ParseException {
191 return super.getFuzzyQuery(field, termStr, minSimilarity);
186 getFuzzyQuery(String field, String termStr, float minSimilarity) argument
/lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/standard/
H A DQueryParserWrapper.java406 float minSimilarity) throws ParseException {
405 getFuzzyQuery(String field, String termStr, float minSimilarity) argument
/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/
H A DExtendedDismaxQParserPlugin.java1010 protected Query getFuzzyQuery(String field, String val, float minSimilarity) throws ParseException { argument
1014 this.flt = minSimilarity;
/lucene-3.6.0/lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/standard/
H A DTestQueryParserWrapper.java153 float minSimilarity) throws ParseException {
152 getFuzzyQuery(String field, String termStr, float minSimilarity) argument
/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/queryParser/
H A DQueryParserTestBase.java136 protected Query getFuzzyQuery(String field, String termStr, float minSimilarity) throws ParseException { argument
/lucene-3.6.0/lucene/backwards/src/test-framework/java/org/apache/lucene/queryParser/
H A DQueryParserTestBase.java133 protected Query getFuzzyQuery(String field, String termStr, float minSimilarity) throws ParseException { argument

Completed in 93 milliseconds