How to limit Jcr Search Result Set

Problem, Question

You would like to limit the resultset that is returned (Like a “Top” in MS SQL, a “LIMIT” in MySQL or “ROWNUM” in Oracle ).

Resolution, Answer

You can call com.day.crx.query.lucene.CRXQuery.setLimit(long limit) method before you execute the query.

Applies to

CRX 1.4.x

 Adobe

Dapatkan bantuan lebih cepat dan lebih mudah

Pengguna baru?

Adobe MAX 2024

Adobe MAX
Konferensi Kreativitas

14–16 Oktober Miami Beach dan online

Adobe MAX

Konferensi Kreativitas

14–16 Oktober Miami Beach dan online

Adobe MAX 2024

Adobe MAX
Konferensi Kreativitas

14–16 Oktober Miami Beach dan online

Adobe MAX

Konferensi Kreativitas

14–16 Oktober Miami Beach dan online