/lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/standard/config/ |
H A D | FuzzyConfig.java | 26 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 D | FuzzyAttribute.java | 37 public void setFuzzyMinSimilarity(float minSimilarity); argument
|
H A D | FuzzyAttributeImpl.java | 62 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 D | FuzzyQueryNode.java | 45 * @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 D | FuzzyTermEnum.java | 51 * 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 D | FuzzyLikeThisQueryBuilder.java | 54 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 D | FuzzyLikeThisQuery.java | 117 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 D | MultiFieldQueryParser.java | 164 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 D | QueryParser.jj | 1067 protected Query getFuzzyQuery(String field, String termStr, float minSimilarity) throws ParseException 1073 return newFuzzyQuery(t, minSimilarity, fuzzyPrefixLength);
|
H A D | QueryParser.java | 1043 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 D | AnalyzingQueryParser.java | 249 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 D | ComplexPhraseQueryParser.java | 187 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 D | QueryParserWrapper.java | 406 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 D | ExtendedDismaxQParserPlugin.java | 1010 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 D | TestQueryParserWrapper.java | 153 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 D | QueryParserTestBase.java | 136 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 D | QueryParserTestBase.java | 133 protected Query getFuzzyQuery(String field, String termStr, float minSimilarity) throws ParseException { argument
|