[
http://jira.nuxeo.org/browse/NXP-2555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=48479#action_48479
]
Florent Guillaume commented on NXP-2555:
----------------------------------------
Relevant commits:
http://hg.nuxeo.org/nuxeo/nuxeo-core/rev/256304135ef3
http://hg.nuxeo.org/nuxeo/nuxeo-core/rev/397a46a8a097
The keyword to use is
SELECT * FROM publishedVersions
but it's actually not really used nor tested.
> core search doesn't work in sections
> ------------------------------------
>
> Key: NXP-2555
> URL: http://jira.nuxeo.org/browse/NXP-2555
> Project: Nuxeo Enterprise Platform
> Issue Type: New Feature
> Affects Versions: 5.2 M2
> Reporter: Bogdan Stefanescu
> Assignee: Bogdan Stefanescu
> Priority: Critical
> Fix For: 5.2 M4
>
> Original Estimate: 2 days
> Remaining Estimate: 2 days
>
> when searching in sections no result is returned.
> In fact the search is not working on proxies that are only links to document
> versions.
> This can be fixed by using the jcr:deref() method.
> If we need more control and transparency we need to patch jackrabbit
> aggregate fields mechanism to be able to
> install a dynamic aggregate that will compute the aggregate fields at runtime
> for each indexed proxy.
> In a first step the jcr:deref will be used. So to make search in sections you
> will need to use "proxy" or "documentProxy" as the FROM field of the NXQL
> query:
> SELECT * FROM proxy WHERE ecm:type="File" AND ecm:path STARTSWITH
> '/default-domain/sections/MySection'
> This will finds all proxies that are pointing to "File" documents and that
> are located under '/default-domain/sections/MySection'
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets