cancel
Showing results for 
Search instead for 
Did you mean: 

How to bypass Lucene Limit Search?

razieltd
Champ in-the-making
Champ in-the-making
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

how can i do it this without modification to the xml?

Thx  Smiley Indifferent
1 REPLY 1

razieltd
Champ in-the-making
Champ in-the-making
Hi!

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…  Smiley Sad

why?