Relative Content

Tag Archive for pythonelasticsearch

where i’m getting this string error?help me with this

Here is my data, It’s based on a schema and I need to generate mapping to be indexed on ES. My background with ES is not much but I thought I got it until I tried it and failed and can’t find the right answer online..

Unable to implement Elasticsearch hybrid count on python

I’m using Python 3.9 and I’m able to do hybrid search (query and knn) on Elasticsearch index. I’m Also able to do simple count either query or knn. but when I try to do hybrid count (query and knn) it does not work. I don’t know what I’m doing wrong. Below are the different approach that I used.

Elastic Search fields and values statistics?

I am working on a Python program that gives me statistics across all documents in a given Elastic Search index. Docs in our indexes have many fields that are not specifically mapped in the ES settings. They are just treated as opaque text strings (and we don’t search or aggregate by them).