Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
r2.03.00 (m10 - scalability)
-
None
-
None
Description
I searched for the following text from one of my articles: "Welcome to Jeff's blog!"
29.01.2009 10:18:19 ERROR [org.hippoecm.frontend.plugins.search.yui.SearchBehavior$SearchBuilder.doSearch():254] Error executing query[//element(*, hippo:harddo
cument)[not(@jcr:primaryType='nt:frozenNode' or @jcr:primaryType='hippogallery:exampleImageSet') and (hippo:paths = '4e557532-98ff-4673-a2a9-5cdbb2822eed' or hi
ppo:paths = '4e557532-bbbb-4673-a2a9-5cdbb2822eed' or hippo:paths = '48856190-e7b4-4562-840e-f502a55eee08' or hippo:paths = '4b426784-1dfa-46f3-b542-d19eaa3894f
8' or hippo:paths = 'f935bd43-650f-4db7-ab67-865e01d0fa14' or hippo:paths = '6c105f5e-7950-4907-a43b-687d9a525384' or hippo:paths = 'a57edc6b-36d2-47df-8ca3-db3
b3ac500b8') and jcr:contains(., 'Welcome') and jcr:contains(., 'to') and jcr:contains(., 'Jeff's') and jcr:contains(., 'blog!')]/rep:excerpt(.)]
javax.jcr.query.InvalidQueryException: Encountered "\') and jcr:contains(., \'" at line 1, column 612.
Was expecting one of:
"or" ...
"and" ...
"div" ...
"idiv" ...
"mod" ...
"*" ...
"to" ...
"intersect" ...
"union" ...
"except" ...
<Instanceof> ...
<Castable> ...
"/" ...
"//" ...
"=" ...
"is" ...
"!=" ...
"<=" ...
"<<" ...
">=" ...
">>" ...
"eq" ...
"ne" ...
"gt" ...
"ge" ...
"lt" ...
"le" ...
"<" ...
">" ...
"-" ...
"+" ...
"|" ...
"[" ...
")" ...
<CastAs> ...
<TreatAs> ...
"," ...
: Encountered "\') and jcr:contains(., \'" at line 1, column 612.
Was expecting one of:
"or" ...
"and" ...
"div" ...
"idiv" ...
"mod" ...
"*" ...
"to" ...
"intersect" ...
"union" ...
"except" ...
<Instanceof> ...
<Castable> ...
"/" ...
"//" ...
"=" ...
"is" ...
"!=" ...
"<=" ...
"<<" ...
">=" ...
">>" ...
"eq" ...
"ne" ...
"gt" ...
"ge" ...
"lt" ...
"le" ...
"<" ...
">" ...
"-" ...
"+" ...
"|" ...
"[" ...
")" ...
<CastAs> ...
<TreatAs> ...
"," ...
: Encountered "\') and jcr:contains(., \'" at line 1, column 612.
Was expecting one of:
"or" ...
"and" ...
"div" ...
"idiv" ...
"mod" ...
"*" ...
"to" ...
"intersect" ...
"union" ...
"except" ...
<Instanceof> ...
<Castable> ...
"/" ...
"//" ...
"=" ...
"is" ...
"!=" ...
"<=" ...
"<<" ...
">=" ...
">>" ...
"eq" ...
"ne" ...
"gt" ...
"ge" ...
"lt" ...
"le" ...
"<" ...
">" ...
"-" ...
"+" ...
"|" ...
"[" ...
")" ...
<CastAs> ...
<TreatAs> ...
"," ...
at org.apache.jackrabbit.core.query.xpath.XPathQueryBuilder.<init>(XPathQueryBuilder.java:299)
at org.apache.jackrabbit.core.query.xpath.XPathQueryBuilder.createQuery(XPathQueryBuilder.java:331)
at org.apache.jackrabbit.core.query.xpath.QueryBuilder.createQueryTree(QueryBuilder.java:39)
at org.apache.jackrabbit.core.query.QueryParser.parse(QueryParser.java:57)
at org.apache.jackrabbit.core.query.lucene.QueryImpl.<init>(QueryImpl.java:91)
at org.apache.jackrabbit.core.query.lucene.SearchIndex.createExecutableQuery(SearchIndex.java:605)
at org.apache.jackrabbit.core.query.QueryImpl.init(QueryImpl.java:127)
at org.apache.jackrabbit.core.SearchManager.createQuery(SearchManager.java:305)
at org.apache.jackrabbit.core.query.QueryManagerImpl.createQuery(QueryManagerImpl.java:94)
at org.hippoecm.repository.decorating.QueryManagerDecorator.createQuery(QueryManagerDecorator.java:42)
at org.hippoecm.repository.impl.QueryManagerDecorator.createQuery(QueryManagerDecorator.java:42)
at org.hippoecm.repository.decorating.checked.QueryManagerDecorator.createQuery(QueryManagerDecorator.java:48)
at org.hippoecm.frontend.plugins.search.yui.SearchBehavior$SearchBuilder.doSearch(SearchBehavior.java:245)
at org.hippoecm.frontend.plugins.search.yui.SearchBehavior$SearchBuilder.search(SearchBehavior.java:301)
at org.hippoecm.frontend.plugins.search.yui.SearchBehavior.respond(SearchBehavior.java:106)
at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:297)
at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:100)
at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:91)
at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1175)
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1252)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1353)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:493)
at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:355)
at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:200)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:324)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:829)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
Caused by: org.apache.jackrabbit.core.query.xpath.ParseException: Encountered "\') and jcr:contains(., \'" at line 1, column 612.
Was expecting one of:
"or" ...
"and" ...
"div" ...
"idiv" ...
"mod" ...
"*" ...
"to" ...
"intersect" ...
"union" ...
"except" ...
<Instanceof> ...
<Castable> ...
"/" ...
"//" ...
"=" ...
"is" ...
"!=" ...
"<=" ...
"<<" ...
">=" ...
">>" ...
"eq" ...
"ne" ...
"gt" ...
"ge" ...
"lt" ...
"le" ...
"<" ...
">" ...
"-" ...
"+" ...
"|" ...
"[" ...
")" ...
<CastAs> ...
<TreatAs> ...
"," ...
at org.apache.jackrabbit.core.query.xpath.XPath.generateParseException(XPath.java:9247)
at org.apache.jackrabbit.core.query.xpath.XPath.jj_consume_token(XPath.java:9165)
at org.apache.jackrabbit.core.query.xpath.XPath.FunctionCall(XPath.java:5684)
at org.apache.jackrabbit.core.query.xpath.XPath.PrimaryExpr(XPath.java:5275)
at org.apache.jackrabbit.core.query.xpath.XPath.FilterExpr(XPath.java:5183)
at org.apache.jackrabbit.core.query.xpath.XPath.StepExpr(XPath.java:4627)
at org.apache.jackrabbit.core.query.xpath.XPath.RelativePathExpr(XPath.java:4511)
at org.apache.jackrabbit.core.query.xpath.XPath.PathExpr(XPath.java:4482)
at org.apache.jackrabbit.core.query.xpath.XPath.ValueExpr(XPath.java:4125)
at org.apache.jackrabbit.core.query.xpath.XPath.UnaryExpr(XPath.java:4032)
at org.apache.jackrabbit.core.query.xpath.XPath.CastExpr(XPath.java:3935)
at org.apache.jackrabbit.core.query.xpath.XPath.CastableExpr(XPath.java:3898)
at org.apache.jackrabbit.core.query.xpath.XPath.TreatExpr(XPath.java:3861)
at org.apache.jackrabbit.core.query.xpath.XPath.InstanceofExpr(XPath.java:3824)
at org.apache.jackrabbit.core.query.xpath.XPath.IntersectExceptExpr(XPath.java:3748)
at org.apache.jackrabbit.core.query.xpath.XPath.UnionExpr(XPath.java:3672)
at org.apache.jackrabbit.core.query.xpath.XPath.MultiplicativeExpr(XPath.java:3586)
at org.apache.jackrabbit.core.query.xpath.XPath.AdditiveExpr(XPath.java:3510)
at org.apache.jackrabbit.core.query.xpath.XPath.RangeExpr(XPath.java:3451)
at org.apache.jackrabbit.core.query.xpath.XPath.ComparisonExpr(XPath.java:3353)
at org.apache.jackrabbit.core.query.xpath.XPath.AndExpr(XPath.java:3303)
at org.apache.jackrabbit.core.query.xpath.XPath.OrExpr(XPath.java:3227)
at org.apache.jackrabbit.core.query.xpath.XPath.ExprSingle(XPath.java:2214)
at org.apache.jackrabbit.core.query.xpath.XPath.Expr(XPath.java:2094)
at org.apache.jackrabbit.core.query.xpath.XPath.Predicate(XPath.java:5233)
at org.apache.jackrabbit.core.query.xpath.XPath.PredicateList(XPath.java:5203)
at org.apache.jackrabbit.core.query.xpath.XPath.AxisStep(XPath.java:4707)
at org.apache.jackrabbit.core.query.xpath.XPath.StepExpr(XPath.java:4597)
at org.apache.jackrabbit.core.query.xpath.XPath.RelativePathExpr(XPath.java:4511)
at org.apache.jackrabbit.core.query.xpath.XPath.PathExpr(XPath.java:4417)
at org.apache.jackrabbit.core.query.xpath.XPath.ValueExpr(XPath.java:4125)
at org.apache.jackrabbit.core.query.xpath.XPath.UnaryExpr(XPath.java:4032)
at org.apache.jackrabbit.core.query.xpath.XPath.CastExpr(XPath.java:3935)
at org.apache.jackrabbit.core.query.xpath.XPath.CastableExpr(XPath.java:3898)
at org.apache.jackrabbit.core.query.xpath.XPath.TreatExpr(XPath.java:3861)
at org.apache.jackrabbit.core.query.xpath.XPath.InstanceofExpr(XPath.java:3824)
at org.apache.jackrabbit.core.query.xpath.XPath.IntersectExceptExpr(XPath.java:3748)
at org.apache.jackrabbit.core.query.xpath.XPath.UnionExpr(XPath.java:3672)
at org.apache.jackrabbit.core.query.xpath.XPath.MultiplicativeExpr(XPath.java:3586)
at org.apache.jackrabbit.core.query.xpath.XPath.AdditiveExpr(XPath.java:3510)
at org.apache.jackrabbit.core.query.xpath.XPath.RangeExpr(XPath.java:3451)
at org.apache.jackrabbit.core.query.xpath.XPath.ComparisonExpr(XPath.java:3353)
at org.apache.jackrabbit.core.query.xpath.XPath.AndExpr(XPath.java:3290)
at org.apache.jackrabbit.core.query.xpath.XPath.OrExpr(XPath.java:3227)
at org.apache.jackrabbit.core.query.xpath.XPath.ExprSingle(XPath.java:2214)
at org.apache.jackrabbit.core.query.xpath.XPath.ForClause(XPath.java:2337)
at org.apache.jackrabbit.core.query.xpath.XPath.FLWORExpr(XPath.java:2233)
at org.apache.jackrabbit.core.query.xpath.XPath.ExprSingle(XPath.java:2133)
at org.apache.jackrabbit.core.query.xpath.XPath.Expr(XPath.java:2094)
at org.apache.jackrabbit.core.query.xpath.XPath.QueryBody(XPath.java:2066)
at org.apache.jackrabbit.core.query.xpath.XPath.MainModule(XPath.java:512)
at org.apache.jackrabbit.core.query.xpath.XPath.Module(XPath.java:387)
at org.apache.jackrabbit.core.query.xpath.XPath.QueryList(XPath.java:151)
at org.apache.jackrabbit.core.query.xpath.XPath.XPath2(XPath.java:118)
at org.apache.jackrabbit.core.query.xpath.XPathQueryBuilder.<init>(XPathQueryBuilder.java:295)
... 40 more
org.apache.jackrabbit.core.query.xpath.ParseException: Encountered "\') and jcr:contains(., \'" at line 1, column 612.
Was expecting one of:
"or" ...
"and" ...
"div" ...
"idiv" ...
"mod" ...
"*" ...
"to" ...
"intersect" ...
"union" ...
"except" ...
<Instanceof> ...
<Castable> ...
"/" ...
"//" ...
"=" ...
"is" ...
"!=" ...
"<=" ...
"<<" ...
">=" ...
">>" ...
"eq" ...
"ne" ...
"gt" ...
"ge" ...
"lt" ...
"le" ...
"<" ...
">" ...
"-" ...
"+" ...
"|" ...
"[" ...
")" ...
<CastAs> ...
<TreatAs> ...
"," ...
at org.apache.jackrabbit.core.query.xpath.XPath.generateParseException(XPath.java:9247)
at org.apache.jackrabbit.core.query.xpath.XPath.jj_consume_token(XPath.java:9165)
at org.apache.jackrabbit.core.query.xpath.XPath.FunctionCall(XPath.java:5684)
at org.apache.jackrabbit.core.query.xpath.XPath.PrimaryExpr(XPath.java:5275)
at org.apache.jackrabbit.core.query.xpath.XPath.FilterExpr(XPath.java:5183)
at org.apache.jackrabbit.core.query.xpath.XPath.StepExpr(XPath.java:4627)
at org.apache.jackrabbit.core.query.xpath.XPath.RelativePathExpr(XPath.java:4511)
at org.apache.jackrabbit.core.query.xpath.XPath.PathExpr(XPath.java:4482)
at org.apache.jackrabbit.core.query.xpath.XPath.ValueExpr(XPath.java:4125)
at org.apache.jackrabbit.core.query.xpath.XPath.UnaryExpr(XPath.java:4032)
at org.apache.jackrabbit.core.query.xpath.XPath.CastExpr(XPath.java:3935)
at org.apache.jackrabbit.core.query.xpath.XPath.CastableExpr(XPath.java:3898)
at org.apache.jackrabbit.core.query.xpath.XPath.TreatExpr(XPath.java:3861)
at org.apache.jackrabbit.core.query.xpath.XPath.InstanceofExpr(XPath.java:3824)
at org.apache.jackrabbit.core.query.xpath.XPath.IntersectExceptExpr(XPath.java:3748)
at org.apache.jackrabbit.core.query.xpath.XPath.UnionExpr(XPath.java:3672)
at org.apache.jackrabbit.core.query.xpath.XPath.MultiplicativeExpr(XPath.java:3586)
at org.apache.jackrabbit.core.query.xpath.XPath.AdditiveExpr(XPath.java:3510)
at org.apache.jackrabbit.core.query.xpath.XPath.RangeExpr(XPath.java:3451)
at org.apache.jackrabbit.core.query.xpath.XPath.ComparisonExpr(XPath.java:3353)
at org.apache.jackrabbit.core.query.xpath.XPath.AndExpr(XPath.java:3303)
at org.apache.jackrabbit.core.query.xpath.XPath.OrExpr(XPath.java:3227)
at org.apache.jackrabbit.core.query.xpath.XPath.ExprSingle(XPath.java:2214)
at org.apache.jackrabbit.core.query.xpath.XPath.Expr(XPath.java:2094)
at org.apache.jackrabbit.core.query.xpath.XPath.Predicate(XPath.java:5233)
at org.apache.jackrabbit.core.query.xpath.XPath.PredicateList(XPath.java:5203)
at org.apache.jackrabbit.core.query.xpath.XPath.AxisStep(XPath.java:4707)
at org.apache.jackrabbit.core.query.xpath.XPath.StepExpr(XPath.java:4597)
at org.apache.jackrabbit.core.query.xpath.XPath.RelativePathExpr(XPath.java:4511)
at org.apache.jackrabbit.core.query.xpath.XPath.PathExpr(XPath.java:4417)
at org.apache.jackrabbit.core.query.xpath.XPath.ValueExpr(XPath.java:4125)
at org.apache.jackrabbit.core.query.xpath.XPath.UnaryExpr(XPath.java:4032)
at org.apache.jackrabbit.core.query.xpath.XPath.CastExpr(XPath.java:3935)
at org.apache.jackrabbit.core.query.xpath.XPath.CastableExpr(XPath.java:3898)
at org.apache.jackrabbit.core.query.xpath.XPath.TreatExpr(XPath.java:3861)
at org.apache.jackrabbit.core.query.xpath.XPath.InstanceofExpr(XPath.java:3824)
at org.apache.jackrabbit.core.query.xpath.XPath.IntersectExceptExpr(XPath.java:3748)
at org.apache.jackrabbit.core.query.xpath.XPath.UnionExpr(XPath.java:3672)
at org.apache.jackrabbit.core.query.xpath.XPath.MultiplicativeExpr(XPath.java:3586)
at org.apache.jackrabbit.core.query.xpath.XPath.AdditiveExpr(XPath.java:3510)
at org.apache.jackrabbit.core.query.xpath.XPath.RangeExpr(XPath.java:3451)
at org.apache.jackrabbit.core.query.xpath.XPath.ComparisonExpr(XPath.java:3353)
at org.apache.jackrabbit.core.query.xpath.XPath.AndExpr(XPath.java:3290)
at org.apache.jackrabbit.core.query.xpath.XPath.OrExpr(XPath.java:3227)
at org.apache.jackrabbit.core.query.xpath.XPath.ExprSingle(XPath.java:2214)
at org.apache.jackrabbit.core.query.xpath.XPath.ForClause(XPath.java:2337)
at org.apache.jackrabbit.core.query.xpath.XPath.FLWORExpr(XPath.java:2233)
at org.apache.jackrabbit.core.query.xpath.XPath.ExprSingle(XPath.java:2133)
at org.apache.jackrabbit.core.query.xpath.XPath.Expr(XPath.java:2094)
at org.apache.jackrabbit.core.query.xpath.XPath.QueryBody(XPath.java:2066)
at org.apache.jackrabbit.core.query.xpath.XPath.MainModule(XPath.java:512)
at org.apache.jackrabbit.core.query.xpath.XPath.Module(XPath.java:387)
at org.apache.jackrabbit.core.query.xpath.XPath.QueryList(XPath.java:151)
at org.apache.jackrabbit.core.query.xpath.XPath.XPath2(XPath.java:118)
at org.apache.jackrabbit.core.query.xpath.XPathQueryBuilder.<init>(XPathQueryBuilder.java:295)
at org.apache.jackrabbit.core.query.xpath.XPathQueryBuilder.createQuery(XPathQueryBuilder.java:331)
at org.apache.jackrabbit.core.query.xpath.QueryBuilder.createQueryTree(QueryBuilder.java:39)
at org.apache.jackrabbit.core.query.QueryParser.parse(QueryParser.java:57)
at org.apache.jackrabbit.core.query.lucene.QueryImpl.<init>(QueryImpl.java:91)
at org.apache.jackrabbit.core.query.lucene.SearchIndex.createExecutableQuery(SearchIndex.java:605)
at org.apache.jackrabbit.core.query.QueryImpl.init(QueryImpl.java:127)
at org.apache.jackrabbit.core.SearchManager.createQuery(SearchManager.java:305)
at org.apache.jackrabbit.core.query.QueryManagerImpl.createQuery(QueryManagerImpl.java:94)
at org.hippoecm.repository.decorating.QueryManagerDecorator.createQuery(QueryManagerDecorator.java:42)
at org.hippoecm.repository.impl.QueryManagerDecorator.createQuery(QueryManagerDecorator.java:42)
at org.hippoecm.repository.decorating.checked.QueryManagerDecorator.createQuery(QueryManagerDecorator.java:48)
at org.hippoecm.frontend.plugins.search.yui.SearchBehavior$SearchBuilder.doSearch(SearchBehavior.java:245)
at org.hippoecm.frontend.plugins.search.yui.SearchBehavior$SearchBuilder.search(SearchBehavior.java:301)
at org.hippoecm.frontend.plugins.search.yui.SearchBehavior.respond(SearchBehavior.java:106)
at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:297)
at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:100)
at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:91)
at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1175)
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1252)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1353)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:493)
at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:355)
at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:200)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:324)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:829)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)