-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Duplicate
-
Affects Version/s: 5.3.2
-
Fix Version/s: None
-
Component/s: Core VCS
Here is an example of this :
org.nuxeo.ecm.core.api.WrappedException: Exception: org.nuxeo.ecm.core.storage.StorageException. message: Invalid query: SELECT * FROM Locationitem WHERE collectionspace_core:tenantId = 1 AND (ecm:currentLifeCycleState <> 'deleted' AND locations_common:inAuthority='89ad6caa-02dc-4ccf-ad8a' AND (ecm:fulltext LIKE 'security - note')) AND ecm:isProxy = 0 ORDER BY collectionspace_core:updatedAt DESC
... at org.nuxeo.ecm.core.storage.sql.coremodel.SQLSession$SQLSessionQuery.execute(SQLSession.java:506) ...
Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception: org.postgresql.util.PSQLException. message: ERROR: syntax error in tsquery: "security & ! & note"
For being more robust, we want to suppress stop words from the full-text constraints and log a warn about, before sending them to the indexer.