Re: Inconsistent results (Preference = Custom (string) UserId)

2015-03-30 Thread andavar
Thanks for reply Masaru. >>>Is the number of hits the same every time? *yes* >>>And are those documents have the same score? *no* node by node it have different score If I will try preference= _primary & _primary_first same score in all nodes. http://www.elastic.co/guide/en/elasticsearch/refere

Re: Inconsistent results (Preference = Custom (string) UserId)

2015-03-27 Thread andavar
Hi All Plz give suggestion for this post. Any configuration need to be change in my yml file. Note: I did not changed in anything in yml file. Am using elastic1.3.1 -- View this message in context: http://elasticsearch-users.115913.n3.nabble.com/Inconsistent-results-Preference-Custom-string

Re: Unable to preserve special characters in search results of ElasticSearch.

2015-03-23 Thread andavar
Hi I think You need to escape those spl char in search string, like { "query": { "bool": { "must": [ { "query_string": { "fields": [ "msg" ], "query": "a\\/" } } ] } } } -- View this m

Inconsistent results (Preference = Custom (string) UserId)

2015-03-23 Thread andavar
Hi Elastic Users, We have 6 shards 2 replicas(3 nodes). While am searching in node1 it gave one result, then pass the query to node2 & 3 it gave different order. I tried preference = _primary & _primary_first It will returns correct order in all the nodes. But I tried preference = userId(003fd