Comments (8)
Okay. So iterator
was removed and then re-introduced?
Cause prefetch-related
was working when i used one of the 6.x.x version
from django-elasticsearch-dsl.
Wow guys, thank you so much for this issue!
What I was looking for is just:
def get_indexing_queryset(self):
return self.get_queryset()
with this I can optimize my code with prefetch_related()
! :)
from django-elasticsearch-dsl.
Is this fixed by #29 ?
from django-elasticsearch-dsl.
Yes, I believe this issue is fixed now with #50
from django-elasticsearch-dsl.
I'm facing this same issue with v7.1.0 .
What could be the reason?
from django-elasticsearch-dsl.
@singhravi1 Are you facing it while running the management command?
from django-elasticsearch-dsl.
@safwanrahman Yes, i tried with both, rebuild
and populate
from django-elasticsearch-dsl.
@singhravi1 This is expected behavior as we are using iterator
for optimization. You can overwrite the get_indexing_queryset
in order to remove the iterator and get the prefetch related functionality
from django-elasticsearch-dsl.
Related Issues (20)
- Is this library still maintained ? HOT 8
- No Support for django.db.models.TimeField
- related_models update index before delete HOT 2
- 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()
- NestedField does not generate a nested mapping HOT 2
- 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
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.