@Test public void testLength() { SuggesterFuzzyQuery q = new SuggesterFuzzyQuery(new Term("test", "test"), 2, 0); assertEquals("test".length(), q.length()); }
@Override public int length() { return getTerm().text().length(); }
SuggesterFuzzyQuery extends FuzzyQuery implements SuggesterQuery { @Override public int length() { return getTerm().text().length(); } }
SuggesterFuzzyQuery extends FuzzyQuery implements SuggesterQuery { @Override public int length() { return getTerm().text().length(); } SuggesterFuzzyQuery(final Term term, final int maxEdits, final int prefixLength); }
SuggesterFuzzyQuery extends FuzzyQuery implements SuggesterQuery { @Override public int length() { return getTerm().text().length(); } SuggesterFuzzyQuery(final Term term, final int maxEdits, final int prefixLength); @Override TermsEnum getTermsEnumForSuggestions(final Terms terms); @Override int length(); }
SuggesterFuzzyQuery extends FuzzyQuery implements SuggesterQuery { @Override public int length() { return getTerm().text().length(); } SuggesterFuzzyQuery(final Term term, final int maxEdits, final int prefixLength); @Override TermsEnum getTermsEnumForSuggestions(final Terms terms); @Override int length();  }