Hi!
I make some test Riak search KV:
test data:
Content Type - application/json;
{
"field1": "value1",
"field2": "значение2",
"поле3": "value3",
"поле4": "значение4"
}test querying(solr interface) and result: curl http://localhost:8098/solr/tests/select?q=field1:value1 <?xml version="1.0" encoding="UTF-8"?> <response> <lst name="responseHeader"> <int name="status">0</int> <int name="QTime">2</int> <lst name="params"> <str name="indent">on</str> <str name="start">0</str> <str name="q">field1:value1</str> <str name="q.op">or</str> <str name="filter"></str> <str name="df">value</str> <str name="wt">standard</str> <str name="version">1.1</str> <str name="rows">1</str> </lst> </lst> <result name="response" numFound="1" start="0" maxScore="0.353553"> <doc> <str name="id">test1 </str> <str name="field1">value1 </str> <str name="field2">значение2 </str> <str name="поле3">value3 </str> <str name="поле4">значение4 </str> </doc> </result> </response> curl http://localhlr/tests/select?q=field2:значение2 <?xml version="1.0" encoding="UTF-8"?> <response> <lst name="responseHeader"> <int name="status">0</int> <int name="QTime">1</int> <lst name="params"> <str name="indent">on</str> <str name="start">0</str> <str name="q">field2:значение2</str> <str name="q.op">or</str> <str name="filter"></str> <str name="df">value</str> <str name="wt">standard</str> <str name="version">1.1</str> <str name="rows">1</str> </lst> </lst> <result name="response" numFound="1" start="0" maxScore="0.353553"> <doc> <str name="id">test1 </str> <str name="field1">value1 </str> <str name="field2">значение2 </str> <str name="поле3">value3 </str> <str name="поле4">значение4 </str> </doc> </result> </response> curl http://localhost:8098/solr/tests/select?q=поле3:value3 <?xml version="1.0" encoding="UTF-8"?> <response> <lst name="responseHeader"> <int name="status">0</int> <int name="QTime">0</int> <lst name="params"> <str name="indent">on</str> <str name="start">0</str> <str name="q">поле3:value3</str> <str name="q.op">or</str> <str name="filter"></str> <str name="df">value</str> <str name="wt">standard</str> <str name="version">1.1</str> <str name="rows">0</str> </lst> </lst> <result name="response" numFound="0" start="0" maxScore="0.0"> </result> </response> curl http://localhost:8098/solr/tests/select?q=поле4:значение4 <?xml version="1.0" encoding="UTF-8"?> <response> <lst name="responseHeader"> <int name="status">0</int> <int name="QTime">0</int> <lst name="params"> <str name="indent">on</str> <str name="start">0</str> <str name="q">поле4:значение4</str> <str name="q.op">or</str> <str name="filter"></str> <str name="df">value</str> <str name="wt">standard</str> <str name="version">1.1</str> <str name="rows">0</str> </lst> </lst> <result name="response" numFound="0" start="0" maxScore="0.0"> </result> </response> Summary: don't work search for fields with Cyrillic name; crazy encoding in return result for fields with Cyrillic name; How fix it? _______________________________________________ riak-users mailing list [email protected] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
