Maksudul Haque
Maksudul Haque
`Document.search()` returns an instance of `elasticsearch-dsl` `Search` class. So, It has all the methods and attributes available to the `Search` class. > Because when I make doc.query() it automatically executes...
You can find all types of search options from elasticsearch-dsl documentation here: https://elasticsearch-dsl.readthedocs.io/en/latest/search_dsl.html
You can use a `NestedField` or `ObjectField` for this purpose. For Example: ```python @registry.register_document class SomeDocument(Document): another_field = fields.NestedField( properties={ 'title': fields.TextField(), 'pk': fields.IntegerField() } ) class Django: model =...
The required changes to support Django 4.0 has been merged (PR: https://github.com/django-es/django-elasticsearch-dsl/pull/387) It should be supported in the next release of this package. CC: @safwanrahman
> @saadmk11 any plans for the release? I think it has already been released. Ref: https://github.com/django-es/django-elasticsearch-dsl/releases/tag/7.2.2
I think `bulk_remove_perm` can be used to remove permission using a queryset https://github.com/django-guardian/django-guardian/blob/f3b3e716483b58626363bf802a6ef9a24247371b/guardian/managers.py#L143
Hello @srmarjani, Just like we run `manage,py migrate` to synchronizes the database state with the current set of models we need to run `manage,py index` to update the `RediSearch` Schema...
I have not used self-hosted runners so not sure I can provide much help here. perhaps you can try running ```yaml - name: Git Safe Dirrectory shell: bash run: git...
Can you please provide a sample/example workflow file of your use case?
Can you please re-base the branch? tests were failing.