AnsweredAssumed Answered

search and maxItems : execution time

Question asked by grummfy on Sep 24, 2010
Latest reply on Sep 24, 2010 by dgenard
Hello,

in a  webscript i do this :
for example :
mquery = my query like : PATH:"/app:company_home/cm:test/*/*" AND   @\{http\://www.grummfy.be/model/ged/1.0\}toSearch:'test"
mlimit = 10
skip = 1

   var def =
   {
      query: mquery,
      store: "workspace://SpacesStore",
      language: "lucene",
      sort: [{column: "@{http\://www.grummfy.be/model/ged/1.0\}stuff", ascending: false}],
      page: {maxItems: mlimit, skipCount: skip}
   };

   results = search.query(def);

but if i put maxItems to -1 or to 1000, the total result number return changed but the time to execute it didn't change….
Did you know any way to pass over this or the time of the search is something that can't be changed

thanks

Outcomes