sascha_a
(Sascha A )
June 20, 2017, 11:17pm
1
Hello,
Im trieing to optimize for space and disabled _all.
mapping looks like this:
curl http://10.0.0.3:9200/productsv6/domain6/_mappings
{
"productsv6": {
"mappings": {
"domain6": {
"_all": {
"enabled": false
},
if i now use
curl http://10.0.0.3:9200/productsv6/domain6/_search?q=_all:samsung
at least theres no results returned. so far so good
But if i use
curl http://10.0.0.3:9200/productsv6/_search?q=_all:samsung
it returns me all results related to samsung
any idears?
Yes i even put _all enabled:false on index level / during index creation.
Seems bugged for me?
Running on latest docker container 5.4
colings86
(Colin Goodheart-Smithe)
June 21, 2017, 8:26am
2
Do you have documents in that index with a doc_type that is not domain6
? could you paste the output of
curl -XGET http://10.0.0.3:9200/productsv6
into a gist and share it here?
sascha_a
(Sascha A )
June 21, 2017, 1:16pm
3
no documents outside of the domain6
{
"productsv6":{
"aliases":{
},
"mappings":{
"domain6":{
"_all":{
"enabled":false
},
"properties":{
"author":{
"type":"keyword"
}
, ....
}
},
copys of domain6 named 1-10
},
"settings":{
"index":{
"number_of_shards":"5",
"translog":{
"durability":"async"
},
"provided_name":"productsv6",
"query":{
"default_field":"title"
},
"creation_date":"1498005962695",
"number_of_replicas":"1",
"uuid":"JbUETeqfR-SAtN_rHFEIwA",
"version":{
"created":"5040199"
}
}
}
}
}
sascha_a
(Sascha A )
June 21, 2017, 1:37pm
4
thanks the hint for documents outside the _types helped, had a bug where the document was put outside of all mapped _types.
can be closed
system
(system)
Closed
July 19, 2017, 1:37pm
5
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.