[ https://issues.apache.org/jira/browse/OAK-2236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chetan Mehrotra resolved OAK-2236. ---------------------------------- Resolution: Fixed Fix Version/s: (was: 1.2) 1.1.2 Merged the fix to 1.0 branch with http://svn.apache.org/r1635698 > Support queries with only order by specified > -------------------------------------------- > > Key: OAK-2236 > URL: https://issues.apache.org/jira/browse/OAK-2236 > Project: Jackrabbit Oak > Issue Type: Sub-task > Components: oak-lucene > Reporter: Chetan Mehrotra > Assignee: Chetan Mehrotra > Priority: Minor > Fix For: 1.0.8, 1.1.2 > > > Allow use of Lucene property index for cases where query specifies an order > by clause and does not specify the where clause i.e. for an index definition > like below > {code} > { > "test": { > "orderedProps": [ > "foo" > ], > "properties": { > "foo": { > "type": "Long" > } > } > } > } > {code} > And query like > {noformat} > select [jcr:path] from [nt:base] order by [foo] > {noformat} > Lucene should be use to return an order result -- This message was sent by Atlassian JIRA (v6.3.4#6332)