lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gus Heck (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LUCENE-7504) Explain of select that uses replace() throws exception
Date Tue, 18 Oct 2016 20:54:59 GMT
Gus Heck created LUCENE-7504:
--------------------------------

             Summary: Explain of select that uses replace() throws exception
                 Key: LUCENE-7504
                 URL: https://issues.apache.org/jira/browse/LUCENE-7504
             Project: Lucene - Core
          Issue Type: Bug
    Affects Versions: 6.2.1
            Reporter: Gus Heck


{code}
select(
   search(test, q="table:article ", fl="edge_id", sort="edge_id desc", rows=10),
   edge_id,
   replace(type,null, withValue="1")
){code}

produced this stack trace
{code}
ERROR (qtp1989972246-17) [c:hcdtest s:shard1 r:core_node1 x:hcdtest_shard1_replica1] o.a.s.s.HttpSolrCall
null:java.io.IOException: Unable to find function name for class 'org.apache.solr.client.solrj.io.ops.ReplaceWithValueOperation'
	at org.apache.solr.client.solrj.io.stream.expr.StreamFactory.getFunctionName(StreamFactory.java:335)
	at org.apache.solr.client.solrj.io.ops.ReplaceWithValueOperation.toExpression(ReplaceWithValueOperation.java:108)
	at org.apache.solr.client.solrj.io.ops.ReplaceOperation.toExpression(ReplaceOperation.java:81)
	at org.apache.solr.client.solrj.io.stream.SelectStream.toExpression(SelectStream.java:148)
	at org.apache.solr.client.solrj.io.stream.SelectStream.toExplanation(SelectStream.java:164)
	at org.apache.solr.client.solrj.io.stream.PushBackStream.toExplanation(PushBackStream.java:56)
	at org.apache.solr.client.solrj.io.stream.ComplementStream.toExplanation(ComplementStream.java:132)
	at org.apache.solr.client.solrj.io.stream.PushBackStream.toExplanation(PushBackStream.java:56)
	at org.apache.solr.client.solrj.io.stream.ComplementStream.toExplanation(ComplementStream.java:132)
	at org.apache.solr.client.solrj.io.stream.RankStream.toExplanation(RankStream.java:142)
	at org.apache.solr.client.solrj.io.stream.PushBackStream.toExplanation(PushBackStream.java:56)
	at org.apache.solr.client.solrj.io.stream.MergeStream.toExplanation(MergeStream.java:136)
	at org.apache.solr.client.solrj.io.stream.HashJoinStream.toExplanation(HashJoinStream.java:174)
	at org.apache.solr.client.solrj.io.stream.SelectStream.toExplanation(SelectStream.java:159)
	at org.apache.solr.client.solrj.io.stream.RankStream.toExplanation(RankStream.java:142)
	at org.apache.solr.client.solrj.io.stream.SelectStream.toExplanation(SelectStream.java:159)
	at org.apache.solr.handler.StreamHandler.handleRequestBody(StreamHandler.java:205)
	at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:154)
	at org.apache.solr.core.SolrCore.execute(SolrCore.java:2089)
	at org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:652)
	at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:459)
	at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:257)
	at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:208)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1160)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1092)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)
	at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
	at org.eclipse.jetty.server.Server.handle(Server.java:518)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:308)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:244)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
	at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:246)
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:156)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
	at java.lang.Thread.run(Thread.java:745)
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message