Details
-
Bug
-
Resolution: Done
-
Critical
-
2.2.0.Final
-
None
Description
Per the forum discussion, attempting to execute a full-text search produces an error. From the user:
It works fine if I use language as JCR-SQL2 and type a query like "select * from [nt:file] where 'jcr:createdBy'='Fred'". However, if I use language Search for full text search with an expression of 'Fred', it failed with the following error:
There has been an error processing your command
Requests of type "org.modeshape.graph.request.FullTextSearchRequest" are unsupported; actual request was to search the "default" workspace with "'Fred'"
org.modeshape.graph.request.InvalidRequestException: Requests of type "org.modeshape.graph.request.FullTextSearchRequest" are unsupported; actual request was to search the "default" workspace with "'Fred'"
at org.modeshape.graph.request.processor.RequestProcessor.processUnknownRequest(RequestProcessor.java:386)
at org.modeshape.graph.connector.map.MapRequestProcessor.process(MapRequestProcessor.java:559)
at org.modeshape.graph.request.processor.RequestProcessor.process(RequestProcessor.java:255)
at org.modeshape.connector.store.jpa.model.simple.SimpleJpaConnection.execute(SimpleJpaConnection.java:127)
at org.modeshape.graph.connector.RepositoryConnectionPool$ConnectionWrapper.execute(RepositoryConnectionPool.java:1129)
at org.modeshape.graph.Graph.execute(Graph.java:283)
at org.modeshape.graph.Graph$5.process(Graph.java:226)
at org.modeshape.graph.request.RequestBuilder.search(RequestBuilder.java:669)
at org.modeshape.graph.Graph.search(Graph.java:2535)
at org.modeshape.jcr.RepositoryQueryManager$SelfContained.search(RepositoryQueryManager.java:378)
at org.modeshape.jcr.JcrQueryManager$SessionQueryContext.search(JcrQueryManager.java:1486)
at org.modeshape.jcr.query.JcrSearch.execute(JcrSearch.java:70)
at org.modeshape.example.repository.RepositoryClient.query(RepositoryClient.java:490)
at org.modeshape.example.repository.ConsoleInput.displayNavigationMenu(ConsoleInput.java:218)
at org.modeshape.example.repository.ConsoleInput$1.run(ConsoleInput.java:105)
at java.lang.Thread.run(Thread.java:619)
I tried using different sources (JPA Source, Filesystem Source) and received the same error.