[
http://jira.nuxeo.org/browse/NXP-3068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Florent Guillaume updated NXP-3068:
-----------------------------------
Component/s: Query / Search
Impact type: [API change]
Upgrade notes:
Most important APIs modified:
- QueryModel.getDocuments now takes a CoreSession as first argument
- QueryModel.getResultsProvider now takes a CoreSession as first argument
Also modified:
- QueryModel constructor doesn't take a NuxeoPrincipal anymore
API deprecated:
- SearchService.searchQuery is deprecated in favor of CoreSession.query
APIs removed:
- FileManager.isFileAlreadyPresentInPath removed because unused and buggy
- FileManager.findExistingDocumentWithFile(..., Blob, ...) removed because
unused and buggy
Fix Version/s: 5.2 M4
> Switch queries from SearchService to CoreSession
> ------------------------------------------------
>
> Key: NXP-3068
> URL: http://jira.nuxeo.org/browse/NXP-3068
> Project: Nuxeo Enterprise Platform
> Issue Type: Improvement
> Components: Query / Search
> Reporter: Florent Guillaume
> Assignee: Florent Guillaume
> Priority: Major
> Fix For: 5.2 M4
>
>
> NXP-3067 has added the proper CoreSession API to do queries with batching and
> count, this should be used directly instead of the
> SearchService.searchQuery() API that is obliged to open a new session for
> each query.
--
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