Searched defs:accuracy (Results 1 - 3 of 3) sorted by relevance
/lucene-3.6.0/solr/core/src/java/org/apache/solr/spelling/ |
H A D | SpellingOptions.java | 54 * Optionally restrict the results to have a minimum accuracy level. Per Implementation. 57 public float accuracy = Float.MIN_VALUE; field in class:SpellingOptions 85 public SpellingOptions(Collection<Token> tokens, IndexReader reader, int count, boolean onlyMorePopular, boolean extendedResults, float accuracy, SolrParams customParams) { argument 91 this.accuracy = accuracy;
|
H A D | AbstractLuceneSpellChecker.java | 70 public static final String ACCURACY = "accuracy"; 88 protected float accuracy = 0.5f; field in class:AbstractLuceneSpellChecker 97 String accuracy = (String) config.get(ACCURACY); 131 if (accuracy != null) { 133 this.accuracy = Float.parseFloat(accuracy); 134 spellChecker.setAccuracy(this.accuracy); 137 "Unparseable accuracy given for dictionary: " + name, e); 169 float theAccuracy = (options.accuracy == Float.MIN_VALUE) ? spellChecker.getAccuracy() : options.accuracy; [all...] |
/lucene-3.6.0/lucene/contrib/spellchecker/src/java/org/apache/lucene/search/spell/ |
H A D | SpellChecker.java | 112 private float accuracy = DEFAULT_ACCURACY; field in class:SpellChecker 213 * Sets the accuracy 0 < minScore < 1; default {@link #DEFAULT_ACCURACY} 214 * @param acc The new accuracy 217 this.accuracy = acc; 221 * The accuracy (minimum score) to be used, unless overridden in {@link #suggestSimilar(String, int, org.apache.lucene.index.IndexReader, String, boolean, float)}, to 223 * @return The current accuracy setting 226 return accuracy; 265 * @param accuracy The minimum score a suggestion must have in order to qualify for inclusion in the results 272 public String[] suggestSimilar(String word, int numSug, float accuracy) throws IOException { argument 273 return this.suggestSimilar(word, numSug, null, null, SuggestMode.SUGGEST_WHEN_NOT_IN_INDEX, accuracy); 353 suggestSimilar(String word, int numSug, IndexReader ir, String field, boolean morePopular, float accuracy) argument 395 suggestSimilar(String word, int numSug, IndexReader ir, String field, SuggestMode suggestMode, float accuracy) argument [all...] |
Completed in 399 milliseconds