Description
READ BEFORE OPENING AN ISSUE
Before you submit an issue please try to reset elasticvue and see if you can reproduce the problem.
To reset please click Disconnect and reset
in the footer, this will reset all your saved filters and you have to reconnect to your cluster.
Proceed and open an issue if your problem persists.
Description
This query is being used to fetch the document for a given index (without any filter), but the problem with this query is that if in index's setting, the default field is set to something and if that field doesn't exists in that doc, it will not show up in the search result because of this right now I am unable to see any doc in one index and some docs are not visible in other indices.
Query :
{"query": {"query_string":{"query":"*"}},"size":10,"from":0,"sort":[]}
I think it should be replaced by this
{
"query": {
"match_all": {}
},
"size": 10,
from: 0,
sort: []
}
or by this
{
"query": {
"query_string": {
"query": "*",
"fields": ["*"]
}
},
"size": 10,
from: 0,
sort: []
}
Steps To Reproduce
List the steps to reproduce your problem:
- Open elasticvue
- define default field in that index's setting
- create a doc which dont have that default field.
- just click on the index again to search and that doc will not be visible
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please include the following information):
- Elasticsearch version: 6.8
- Operating system: Mac
- Browser + version:
- Elasticvue version: Latest
- How are you running elasticvue? (docker, browser extension, web app): web app and browser extension
Additional context
https://pulse.support/kb/elasticsearch-index-query-default-field