@Test public void testLength() { SuggesterWildcardQuery q = new SuggesterWildcardQuery(new Term("test", "m?t")); Assert.assertEquals("m?t".length(), q.length()); }
@Override public int length() { return getTerm().text().length(); }
SuggesterWildcardQuery extends WildcardQuery implements SuggesterQuery { @Override public int length() { return getTerm().text().length(); } }
SuggesterWildcardQuery extends WildcardQuery implements SuggesterQuery { @Override public int length() { return getTerm().text().length(); } SuggesterWildcardQuery(final Term term); }
SuggesterWildcardQuery extends WildcardQuery implements SuggesterQuery { @Override public int length() { return getTerm().text().length(); } SuggesterWildcardQuery(final Term term); @Override TermsEnum getTermsEnumForSuggestions(final Terms terms); @Override int length(); }
SuggesterWildcardQuery extends WildcardQuery implements SuggesterQuery { @Override public int length() { return getTerm().text().length(); } SuggesterWildcardQuery(final Term term); @Override TermsEnum getTermsEnumForSuggestions(final Terms terms); @Override int length();  }