Re: Solr and Tomcat - problem with unicode characters

2012-08-28 Thread zehoss
I found my mistake. I've forget to set encoding do curl options curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/json; charset=UTF-8', 'Content-Length: '.strlen($data))); So, thank you for attention and have a nice day :) -- View this message in context: http://lucene.472

Re: Solr and Tomcat - problem with unicode characters

2012-08-28 Thread zehoss
I just dump (PHP) json response and show in web browser. Please note that for the same request I have some results on Jetty but no results on Tomcat. That's why I think this is probably problem with Tomcat configuration. When I search for something in catalina.out I get Aug 28, 2012 2:24:43 PM o

Re: Solr and Tomcat - problem with unicode characters

2012-08-28 Thread François Schiettecatte
What is probably going on is that the response is not being interpreted as UTF-8 but as some other encoding. What are you using to display the response? François On Aug 28, 2012, at 8:08 AM, zehoss wrote: > Hi, > at the beginning I would like to sorry for my english. I hope my message > will

Re: solr and tomcat

2009-03-03 Thread Matthew Runo
I see where your problems come in then. I'm not sure of the answer though =\ We've not had issues running multiple tomcat instances per server. I think at one point a few weeks ago we ran 6 instances per server, on quad core Xeon servers with 16gb of ram. Our use case might be different t

Re: solr and tomcat

2009-03-03 Thread Matt Mitchell
That's exactly what we're doing (setting the value in each config). The main problem with that is we have multiple people working on each of these solr projects, in different environments. Their data.dir path is always the same (relative) value which works fine under Jetty. But running under tomcat

Re: solr and tomcat

2009-03-03 Thread Matthew Runo
Perhaps you could hard code it in the solrconfig.xml file for each solr instance? Other than that, what we did was run multiple instances of Tomcat. That way if something goes bad in one, it doesn't affect the others. Thanks for your time! Matthew Runo Software Engineer, Zappos.com mr...@z

Re: solr and tomcat

2009-03-03 Thread Matt Mitchell
Hi Matthew, The problem is that we have multiple instances of solr running under one tomcat. So setting -Dsolr.data.dir=foo would set the home for every solr. I guess multi-core might solve my problem, but that'd change our app architecture too much, maybe some other day. I *kind* of have a solut

Re: solr and tomcat

2009-03-03 Thread Matthew Runo
It looks like if you set a -Dsolr.data.dir=foo then you could specify where the index would be stored, yes? Are you properly setting your solr.home? I've never had to set the data directory specifically, Solr has always put it under my home. From solrconfig.xml: ${solr.data.dir:./solr/dat