django-elasticsearch-dsl-drf icon indicating copy to clipboard operation
django-elasticsearch-dsl-drf copied to clipboard

Searching across all indices?

Open lightninglu10 opened this issue 5 years ago • 7 comments

Is there an easy way to search across all indices and have the result be serialized back?

For example, hitting elastic search at localhost:9200/_search? searches across all available indices.

What's the best way to utilize this wrapper to get a serialized version of the result back?

lightninglu10 avatar Nov 01 '19 01:11 lightninglu10

+1

Aya-Mohamed-Ashraf avatar Nov 06 '19 10:11 Aya-Mohamed-Ashraf

Sorry for late response. Not yet. :) This package works with documents. I can imagine it's useful addition. Added to a TODO.

barseghyanartur avatar Nov 06 '19 10:11 barseghyanartur

Update: Actually, I've done this recently. It's pretty doable, with some tricks.

barseghyanartur avatar Apr 11 '20 23:04 barseghyanartur

Update. Work on this is in progress and will be covered in the native-es-indexes branch.

barseghyanartur avatar Apr 16 '20 22:04 barseghyanartur

Update: Actually, I've done this recently. It's pretty doable, with some tricks.

Would you be able to point me in the right direction for implementing this please?

lukasmatiasko avatar Jun 21 '20 21:06 lukasmatiasko

@barseghyanartur, Is there any updates about it? Can you share some tricks to achieve this? Please.

dipendra-karki avatar May 04 '21 09:05 dipendra-karki

Too busy ATM. Sorry.

barseghyanartur avatar May 04 '21 11:05 barseghyanartur