AnsweredAssumed Answered

luceneSearch with max hits

Question asked by dnicklas on Feb 23, 2011
Latest reply on Feb 24, 2011 by dnicklas
Hi,

Does any one played arround with the luceneSearch function and the max hits parameter?

When I do:
  var gens = search.luceneSearch("TYPE:\"{http://www.alfresco.org/model/content/1.0}person\'','',false,10000);
  //public org.mozilla.javascript.Scriptable luceneSearch(java.lang.String search,
  //                                                    java.lang.String sortColumn,
  //                                                    boolean asc,
  //                                                    int max)
I only get 1000 hits even if it must be much more.

Thanks
Denis

Outcomes