[
http://jira.nuxeo.org/browse/NXP-4221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Florent Guillaume updated NXP-4221:
-----------------------------------
Comment: was deleted
(was: ERROR [ResultsProvidersCacheBean] failed to obtain sorted resultProvider
org.nuxeo.ecm.core.api.ClientException: Failed to execute query: Cannot parse
'++work': Encountered "+" at line 1, column 1.
at
org.nuxeo.ecm.core.api.AbstractSession.query(AbstractSession.java:1404)
at $Proxy227.query(Unknown Source)
at
org.nuxeo.ecm.core.search.api.client.querymodel.QueryModel.getResultsProvider(QueryModel.java:177)
at
org.nuxeo.ecm.webapp.querymodel.QueryModelActionsBean.getResultsProvider(QueryModelActionsBean.java:134)
at
org.nuxeo.ecm.webapp.pagination.ResultsProvidersCacheBean.get(ResultsProvidersCacheBean.java:144)
at
org.nuxeo.ecm.webapp.search.SearchActionsBean.performSearch(SearchActionsBean.java:309)
Caused by: org.nuxeo.ecm.core.query.QueryException. message: Invalid query:
SELECT * FROM Document WHERE ecm:fulltext LIKE '+work' AND
ecm:isCheckedInVersion = 0 AND (ecm:currentLifeCycleState = 'project' OR
ecm:currentLifeCycleState = 'approved' OR ecm:currentLifeCycleState =
'obsolete')
The problem is PredicateDescriptor that always adds a + in front of tokens,
which is now incorrect as we have a backend-independent syntax.
)
> Search in "Required words" doesn't work
> ---------------------------------------
>
> Key: NXP-4221
> URL: http://jira.nuxeo.org/browse/NXP-4221
> Project: Nuxeo Enterprise Platform
> Issue Type: Bug
> Affects Versions: 5.3 RC
> Reporter: Solen Guitter
> Assignee: Florent Guillaume
> Priority: Critical
> Fix For: 5.3 GA
>
>
> When I search a document using the "required words" field, it doesn't work :
> it says the search engine can't process the request.
--
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