@Test public void testLength() { SuggesterRegexpQuery q = new SuggesterRegexpQuery(new Term("test", ".*test")); Assert.assertEquals(".*test".length(), q.length()); }
@Override public int length() { return getRegexp().text().length(); }
SuggesterRegexpQuery extends RegexpQuery implements SuggesterQuery { @Override public int length() { return getRegexp().text().length(); } }
SuggesterRegexpQuery extends RegexpQuery implements SuggesterQuery { @Override public int length() { return getRegexp().text().length(); } SuggesterRegexpQuery(final Term term); }
SuggesterRegexpQuery extends RegexpQuery implements SuggesterQuery { @Override public int length() { return getRegexp().text().length(); } SuggesterRegexpQuery(final Term term); @Override TermsEnum getTermsEnumForSuggestions(final Terms terms); @Override int length(); }
SuggesterRegexpQuery extends RegexpQuery implements SuggesterQuery { @Override public int length() { return getRegexp().text().length(); } SuggesterRegexpQuery(final Term term); @Override TermsEnum getTermsEnumForSuggestions(final Terms terms); @Override int length();  }