AnsweredAssumed Answered

lucene query pagination

Question asked by yogeshkumar on Dec 15, 2010
Latest reply on Jan 12, 2011 by afaust
Hi,

is it possible to do fetch the needed index by passing the value(start and end index) to the query?

Query query1 = new Query(Constants.QUERY_LANG_LUCENE,"TYPE:\"{http://www.alfresco.org/model/content/1.0}content\" AND @\\{http\\://www.alfresco.org/model/content/1.0\\}name:Web Services sample*");

Consider this query is giving results =14

Using the query I need to fetch only the documents from 5-10 instead of 14, is it possible to fetch the same like?

Thanks,
Yogeshkumar.S

Outcomes