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 = "<add><doc boost="1.0">" +"<field name="id">123</field><field name="includes">eaiou with circumflexes:âîôû</field>" +"</doc></add>"; DirectXmlRequest up = new DirectXmlRequest( "/update", addContent ); server.request( up ); ------------------------------- thanks for help