Expand my Community achievements bar.

SOLVED

Jackrabbit configuration | respectDocumentOrder attribute

Avatar

Level 1

We have a need to retain the document order (as seen in CRX repository view) in the JCR Query results. I read it in Jackrabbit documentation - http://wiki.apache.org/jackrabbit/Search#Search_Configuration that by configuring the attribute “respectDocumentOrder”, we will be able to retain document ordering in query results.

However, the suggestion as it reads – needs to be done in repository.xml / workspace.xml. I couldn’t find this configuration xml in AEM 6. 

Is there an alternate way to setup this in AEM 6?

1 Accepted Solution

Avatar

Correct answer by
Employee

No, this feature does not exist in Oak. See https://issues.apache.org/jira/browse/OAK-2544

In general, you probably want to use node/resource iteration instead.

View solution in original post

1 Reply

Avatar

Correct answer by
Employee

No, this feature does not exist in Oak. See https://issues.apache.org/jira/browse/OAK-2544

In general, you probably want to use node/resource iteration instead.