Comments (2)
So when I blow away the index and rebuild everything, I do seem to get a nested type for movements_set
.
However, when I search using a nested
query, I see this error message:
{
"took" : 6,
"timed_out" : false,
"_shards" : {
"total" : 2,
"successful" : 1,
"skipped" : 0,
"failed" : 1,
"failures" : [
{
"shard" : 0,
"index" : ".kibana_1",
"node" : "tDYuEcAYSUuGFY3Z3veYVg",
"reason" : {
"type" : "query_shard_exception",
"reason" : "failed to create query: [nested] failed to find nested object under path [movements_set]",
"index_uuid" : "i7BugJo4QKu600dXjIwGDQ",
"index" : ".kibana_1",
"caused_by" : {
"type" : "illegal_state_exception",
"reason" : "[nested] failed to find nested object under path [movements_set]"
}
}
}
]
}
I seem to get proper nested results but it's incomplete. Is it possible to ensure that the mapping is correct on all shards?
from django-elasticsearch-dsl.
Of course, it turns out to be user error. Looking at the error message closer, I realized it was complaining about the .kibana_1
index which I didn't intend to query against. When I execute my search against /index_name/_search
rather than /_search
, then there are no failure messages.
from django-elasticsearch-dsl.
Related Issues (20)
- override get_queryset work when i rebuild the entire index only HOT 1
- elasticsearch_dsl.exceptions.UnknownDslObject HOT 1
- [Question] conditional logic from another index HOT 2
- Out of memory when populating large dataset HOT 1
- Invalid constraint in setup.py HOT 6
- elasticsearch query or elasticsearch.to_queryset()
- Silencing of `TypeError`s during value retrieval
- Make the search_index command resumable
- How to connect Django Backend and Elastic Search under ver 8.8.1? HOT 1
- Multi model single index possiblity HOT 2
- Multi Index Elastic Search HOT 1
- Add knn documentation HOT 2
- range fields support
- Error: Unexpected queryset model
- Showing Progress During Populate or Rebuild Commands HOT 1
- Save Only in Elasticsearch HOT 1
- ModuleNotFoundError: No module named 'MyIndex'
- elasticsearch.helpers.BulkIndexError: 1 document(s) failed to index
- How to add a mapping on the Document class HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-elasticsearch-dsl.