AnsweredAssumed Answered

How to exceed Lucene Limit Search?

Question asked by razieltd on Mar 29, 2011
Latest reply on May 10, 2011 by umdfresco
Hi!

Is it possible with a ws java-backed research by lucene an unlimited number of nodes?
Now if i try to reseach in a store that contains 1100 nodes, the results list contains only 1000

I found this code:

SearchParameters sp = new SearchParameters();
sp.setLanguage(SearchService.LANGUAGE_LUCENE);
sp.setQuery("PATH:\"/*\"");
sp.addStore(StoreRef.STORE_REF_WORKSPACE_SPACESSTORE);
sp.setLimitBy(LimitBy.FINAL_SIZE);
sp.setLimit(1100);
rs=searchService.query(sp);

but nothing… if i try with sp.setLimit(10); work and my result list length is 10 but if i try with any value more higher then 1000 dont work… :(

why? :|

Outcomes