@Test public void testLength() { SuggesterPrefixQuery q = new SuggesterPrefixQuery(new Term("test", "prefix")); assertEquals("prefix".length(), q.length()); }
@Override public int length() { return getPrefix().text().length(); }
SuggesterPrefixQuery extends PrefixQuery implements SuggesterQuery { @Override public int length() { return getPrefix().text().length(); } }
SuggesterPrefixQuery extends PrefixQuery implements SuggesterQuery { @Override public int length() { return getPrefix().text().length(); } SuggesterPrefixQuery(final Term prefix); }
SuggesterPrefixQuery extends PrefixQuery implements SuggesterQuery { @Override public int length() { return getPrefix().text().length(); } SuggesterPrefixQuery(final Term prefix); @Override TermsEnum getTermsEnumForSuggestions(final Terms terms); @Override int length(); }
SuggesterPrefixQuery extends PrefixQuery implements SuggesterQuery { @Override public int length() { return getPrefix().text().length(); } SuggesterPrefixQuery(final Term prefix); @Override TermsEnum getTermsEnumForSuggestions(final Terms terms); @Override int length();  }