omerbn
(Omerbn)
January 17, 2018, 3:40pm
1
Hey,
Architecture:
2 client python machines running the same code with same libraries/packages.
1 elasticsearch node (with 5 shards)
1 elasticsearch index
I'm running the following query:
{
"query": {
"multi_match": {
"fields": ["field1", "field2"],
"boost": 1,
"query": "test t",
"fuzziness": 1,
"type": "best_fields"
}
}
}
From client#1 - I get 2 results
From client#2 - I get 0 results
Why could this be?
Thank you
val
(Val Crettaz)
January 17, 2018, 3:54pm
2
Can you also show the Python code you're running?
omerbn
(Omerbn)
January 17, 2018, 4:11pm
3
Sure.
elasticsearch = Elasticsearch(hosts="myhost:9200")
term = {
"query": {
"multi_match": {
"fields": ["field1", "field2"],
"boost": 1,
"query": "test t",
"fuzziness": 1,
"type": "best_fields"
}
}
}
results = elasticsearch.search(index="my-index", body=term)
system
(system)
Closed
February 14, 2018, 4:11pm
4
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.