[
https://issues.apache.org/jira/browse/OAK-2426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chetan Mehrotra reassigned OAK-2426:
------------------------------------
Assignee: Chetan Mehrotra
> [LucenePropertyIndex] full-text search on first level relative node returns
> no result
> -------------------------------------------------------------------------------------
>
> Key: OAK-2426
> URL: https://issues.apache.org/jira/browse/OAK-2426
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: oak-lucene
> Affects Versions: 1.0.9, 1.1.4
> Reporter: Amit Jain
> Assignee: Chetan Mehrotra
> Attachments: OAK-2426.patch
>
>
> Following query does not return any result even with a proper index defined
> [1].
> {noformat}//element(*, test:Page)[ " +
> "jcr:contains(jcr:content, 'summer') ]
> {noformat}
> [1]
> {code}
> {
> "jcr:primaryType": "oak:QueryIndexDefinition",
> "compatVersion": 2,
> "name": "pageIndex",
> "type": "lucene",
> "async": "async",
> "reindex": true,
> "aggregates": {
> "jcr:primaryType": "nt:unstructured",
> "test:Page": {
> "jcr:primaryType": "nt:unstructured",
> "include0": {
> "jcr:primaryType": "nt:unstructured",
> "relativeNode": true,
> "path": "jcr:content"
> }
> }
> },
> "indexRules": {
> "jcr:primaryType": "nt:unstructured",
> "test:Page": {
> "jcr:primaryType": "nt:unstructured",
> "properties": {
> "jcr:primaryType": "nt:unstructured",
> "jcr:lastModified": {
> "jcr:primaryType": "nt:unstructured",
> "ordered": true,
> "propertyIndex": true,
> "name": "jcr:content/jcr:lastModified",
> "type": "Date"
> }
> }
> }
> }
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)