elasticsearch-dsl-py Questions

4

Solved

I am trying to call a local ES instance running on docker. I used the following instructions to setup my ES instance: https://www.elastic.co/guide/en/elasticsearch/reference/current/getting-started...
Lactose asked 27/2, 2022 at 2:35

1

I have multiple indices in Elasticsearch (and the corresponding documents in Django created using django-elasticsearch-dsl). All of the indices have these settings: settings = {'number_of_shards':...

1

Solved

I would like to aggregate a list of documents (each of them has two fields - timestamp and amount) by "amount" field until a certain value is reached. For example I would like to get list of docume...

1

Solved

I am following https://github.com/sabricot/django-elasticsearch-dsl to index the data inside my django-model. I have defined my documents.py file as :-> from django_elasticsearch_dsl import Docum...
Audrey asked 25/8, 2019 at 6:46

2

Solved

Can someone point me to how to extract the results _source from the generator when using the scan API in the elasticsearch dsl python client? for example, i'm using (from this example, elasticsear...
Korikorie asked 1/5, 2018 at 14:39

1

Solved

The mapping of my Elastic search looks like below: { "settings": { "index": { "number_of_shards": "5", "number_of_replicas": "1" } }, "mappings": { "node": { "properties": { "field1": { ...

1

I am using django-elasticsearch-dsl in one of our projects, and after creating a cluster in AWS Elasticsearch, I started seeing this error: Root certificates are missing for certificate validation....

4

Solved

I'm trying to access ElasticSearch AWS from my localhost through Python (I can access it through my browser). from elasticsearch import Elasticsearch ELASTIC_SEARCH_ENDPOINT = 'https://xxx' es = E...

1

Solved

I'm making and investigation for a seminar in retrieval information. I have a json file with a list of articles and i need to index them and after use a percolator with highlighting. The list of ...
Whatsoever asked 20/3, 2018 at 14:49

1

Solved

I used elasticsearch-dsl==5.2.0, elasticsearch==5.3.0 and Django==1.8.15. Django model: class Item(models.Model): price = models.DecimalField(default=0) def to_search(self): return DocItem( ...
Coccyx asked 12/4, 2017 at 11:43
1

© 2022 - 2025 — McMap. All rights reserved.