behind nginx

2017-07-04 Thread walid
Hi,
i have a multiple solr slaves reversed by nginx, clients browser send to
nginx who reverse with round robin to solr slaves, clients use post, and
directly deal with solrs i use "ajax-solr". with this configuration and if i
have a lot of ecommerce users, Is there a risk to have many tomcat sessions
in solr servers? if i found solution with nginx to use same session in the
solr requests, this will not cause solr response errors?
my solr version is 1.4.1, i know this is too old 



--
View this message in context: 
http://lucene.472066.n3.nabble.com/behind-nginx-tp4344124.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: behind nginx

2017-07-06 Thread walid
Hi Eric,
there is no error with current config, But soon there will be about 5000
users in the site and with round robin and no shared session like in my
config I might have 5000 sessions in each server. So i ask this question.
May be if i fix jsessionid with nginx header, everyone will have the same
session. Is it possible to generate error solr in the result of query's.

Regards 

Walid



--
View this message in context: 
http://lucene.472066.n3.nabble.com/behind-nginx-tp4344124p4344653.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: behind nginx

2017-07-07 Thread walid
Hi Eric,
with tomcat probe and jmeter i do test load and i see there is no session
and the memory can easily recovered where gc occured, so there is no worry,
And as he has said eric "don't chnge any thing" 



--
View this message in context: 
http://lucene.472066.n3.nabble.com/behind-nginx-tp4344124p4344931.html
Sent from the Solr - User mailing list archive at Nabble.com.


solrj : probleme with utf-8 content

2009-03-18 Thread Walid ABDELKABIR
when executing this code I got in my index the field "includes" with this
value : "?  ? ?" :
---
String content ="eaiou with circumflexes: êâîôû";
SolrInputDocument doc = new SolrInputDocument();
doc.addField( "id", "123", 1.0f );
doc.addField( "includes", content, 1.0f );
server.add( doc );
---

but this code works fine :

---
String addContent =   ""
  +"123eaiou with circumflexes:âîôû"
  +"";
DirectXmlRequest up = new DirectXmlRequest( "/update", addContent );
server.request( up );
---

thanks for help