Re: Error for Graph Traversal using Streaming Expressions

2017-03-15 Thread Zheng Lin Edwin Yeo
Hi Joel, Thanks for your help. The problem is with the solrconfig.xml. I got the latest Solr 6.4.2 sample solrconfig.xml, and added in my custom handler, and it works now. Regards, Edwin On 15 March 2017 at 09:35, Zheng Lin Edwin Yeo wrote: > Ok, thanks for the heads up. > > I'll review on th

Re: Error for Graph Traversal using Streaming Expressions

2017-03-14 Thread Zheng Lin Edwin Yeo
Ok, thanks for the heads up. I'll review on the solrconfig.xml first. Regards, Edwin On 15 March 2017 at 00:23, Joel Bernstein wrote: > Yeah, there has been a lot of changes to configs in Solr 6. All the > streaming request handlers have now been made implicit so the > solrconfig.xml doesn't

Re: Error for Graph Traversal using Streaming Expressions

2017-03-14 Thread Joel Bernstein
Yeah, there has been a lot of changes to configs in Solr 6. All the streaming request handlers have now been made implicit so the solrconfig.xml doesn't include them. Something seems to be stepping on the implicit configs. Joel Bernstein http://joelsolr.blogspot.com/ On Tue, Mar 14, 2017 at 12:20

Re: Error for Graph Traversal using Streaming Expressions

2017-03-14 Thread Zheng Lin Edwin Yeo
Could it be because the solrconfig.xml was created in Solr 5.x, and was upgraded to Solr 6.x, and there is something which I have missed out during the upgrading? So far for this server, only the schema.xml and solrconfig.xml was carried forward and modified from Solr 5.x. The files for Solr 6.4.1

Re: Error for Graph Traversal using Streaming Expressions

2017-03-14 Thread Joel Bernstein
Yeah, something is wrong with the configuration, because /export only should be returning json. Have you changed the configurations? What were the exact steps you used in setting up the server? Joel Bernstein http://joelsolr.blogspot.com/ On Tue, Mar 14, 2017 at 11:50 AM, Zheng Lin Edwin Yeo wr

Re: Error for Graph Traversal using Streaming Expressions

2017-03-14 Thread Zheng Lin Edwin Yeo
Hi Joel, This is what get from query: true 0 0 Regards, Edwin On 14 March 2017 at 22:33, Joel Bernstein wrote: > try running the following query: > > http://localhost:8983/solr/email/export?{!terms+f%3Dfrom}ed...@mail.com > &distrib=false&fl=from,to&sort=to+asc,from+asc&wt=json&version=

Re: Error for Graph Traversal using Streaming Expressions

2017-03-14 Thread Joel Bernstein
try running the following query: http://localhost:8983/solr/email/export?{!terms+f%3Dfrom}ed...@mail.com &distrib=false&fl=from,to&sort=to+asc,from+asc&wt=json&version=2.2 Let's see what comes back from this. Joel Bernstein http://joelsolr.blogspot.com/ On Tue, Mar 14, 2017 at 10:20 AM, Zheng L

Re: Error for Graph Traversal using Streaming Expressions

2017-03-14 Thread Zheng Lin Edwin Yeo
Hi Joel, I have only managed to find these above the stack trace. 2017-03-14 14:08:42.819 INFO (qtp1543727556-2635) [ ] o.a.s.s.HttpSolrCall [admin] webapp=null path=/admin/info/logging params={wt=json&_=1489500479108&since=0} status=0 QTime=0 2017-03-14 14:08:43.085 INFO (qtp1543727556-2397)

Re: Error for Graph Traversal using Streaming Expressions

2017-03-14 Thread Joel Bernstein
You're getting json parse errors, that look like your getting an XML response. Do you see any errors in the logs other then the stack trace. I suspect there might be another error above the stack trace which shows the error from the server that causing it to respond with XML. Joel Bernstein http

Re: Error for Graph Traversal using Streaming Expressions

2017-03-13 Thread Zheng Lin Edwin Yeo
Hi Joel, >One thing it could be is that gatherNodes will only work on single value >fields currently. Regarding this, the fields which I am using in the query is already a single value field, not multi-value field. Regards, Edwin On 14 March 2017 at 10:04, Zheng Lin Edwin Yeo wrote: > Hi Joe

Re: Error for Graph Traversal using Streaming Expressions

2017-03-13 Thread Zheng Lin Edwin Yeo
Hi Joel, This is the details which I get form the logs. java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.io.IOException: java.util.concurrent.ExecutionException: java.io.IOException: --> http://localhost:8984/solr/email/: An exception has occur

Re: Error for Graph Traversal using Streaming Expressions

2017-03-13 Thread Joel Bernstein
Syntax looks ok. The logs should have a stack trace. One thing it could be is that gatherNodes will only work on single value fields currently. Joel Bernstein http://joelsolr.blogspot.com/ On Mon, Mar 13, 2017 at 1:59 AM, Zheng Lin Edwin Yeo wrote: > Hi, > > I am getting this error when I trie