@Test public void testIsComplexQuery() { assertFalse(SuggesterUtils.isComplexQuery(null, new SuggesterPrefixQuery(new Term("test", "t")))); }
public static boolean isComplexQuery(final Query query, final SuggesterQuery suggesterQuery) { return query != null || !(suggesterQuery instanceof SuggesterPrefixQuery); }
SuggesterUtils { public static boolean isComplexQuery(final Query query, final SuggesterQuery suggesterQuery) { return query != null || !(suggesterQuery instanceof SuggesterPrefixQuery); } }
SuggesterUtils { public static boolean isComplexQuery(final Query query, final SuggesterQuery suggesterQuery) { return query != null || !(suggesterQuery instanceof SuggesterPrefixQuery); } private  SuggesterUtils(); }
SuggesterUtils { public static boolean isComplexQuery(final Query query, final SuggesterQuery suggesterQuery) { return query != null || !(suggesterQuery instanceof SuggesterPrefixQuery); } private  SuggesterUtils(); static List<Term> intoTerms(final Query query); static List<Term> intoTermsExceptPhraseQuery(final Query query); static boolean isComplexQuery(final Query query, final SuggesterQuery suggesterQuery); }
SuggesterUtils { public static boolean isComplexQuery(final Query query, final SuggesterQuery suggesterQuery) { return query != null || !(suggesterQuery instanceof SuggesterPrefixQuery); } private  SuggesterUtils(); static List<Term> intoTerms(final Query query); static List<Term> intoTermsExceptPhraseQuery(final Query query); static boolean isComplexQuery(final Query query, final SuggesterQuery suggesterQuery); static final int NORMALIZED_DOCUMENT_FREQUENCY_MULTIPLIER; }