@author Manik Surtani (manik@jboss.org) @author Navin Surtani (manik@jboss.org)
9596979899100101102103104
{ queryParser = new QueryParser("blurb", new StandardAnalyzer()); luceneQuery = queryParser.parse("playing"); cacheQuery = searchableCache.createQuery(luceneQuery); QueryResultIterator found = cacheQuery.iterator(); assert found.isFirst(); assert found.isLast(); }
244245246247248249250251252253254
{ queryParser = new QueryParser("blurb", new StandardAnalyzer()); luceneQuery = queryParser.parse("playing"); cacheQuery = searchableCache.createQuery(luceneQuery); QueryResultIterator found = cacheQuery.lazyIterator(); assert found.isFirst(); assert found.isLast(); }
979899100101102103104105106
99100101102103104105106107108