Skip to content Skip to sidebar Skip to footer
Showing posts with the label Elasticsearch

How To Search Both Singular And Plural Form Of Word In Elasticsearch?

I am making elastic query using Q object and I have indexed documents, one of the documents contain… Read more How To Search Both Singular And Plural Form Of Word In Elasticsearch?

With Elasticsearch, Can I Highlight With Different Html Tags For Different Matched Tokens?

Learning ES at the moment, but I'm very keen to implement this. I know you can highlight differ… Read more With Elasticsearch, Can I Highlight With Different Html Tags For Different Matched Tokens?

Insert Multiple Documents In Elasticsearch - Bulk Doc Formatter

TLDR; How can I bulk format my JSON file for ingestion to Elasticsearch? I am attempting to ingest … Read more Insert Multiple Documents In Elasticsearch - Bulk Doc Formatter

Elasticsearch Python Client - Work With Many Nodes - How To Work With Sniffer

i have one cluster with 2 nodes. i am trying to understand the best practise to connect the nodes,… Read more Elasticsearch Python Client - Work With Many Nodes - How To Work With Sniffer

How Do I Combine These Two Queries In Elastic Search Python?

I have two queries I would like to combine First one returns results that have the 'analysis.da… Read more How Do I Combine These Two Queries In Elastic Search Python?

How To Have Range And Match Query In One Elastic Search Query Using Python?

I have to find the matching documents which have the string, for example: 'sky', within som… Read more How To Have Range And Match Query In One Elastic Search Query Using Python?

Elasticsearch Analyze() Not Compatible With Spark In Python?

I'm using the elasticsearch-py client within PySpark using Python 3 and I'm running into a … Read more Elasticsearch Analyze() Not Compatible With Spark In Python?

Error When Indexing Data Using Elasticsearch Dsl

I have two models which are as follows: class PostUser(models.Model): user_id = models.CharFie… Read more Error When Indexing Data Using Elasticsearch Dsl

Splitting A Multipolygon

Can I just take out the parts and take them out to be their own features or would this involve some… Read more Splitting A Multipolygon

How To Do Mapping While Indexing In Elasticsearch

I am using ElasticSearch in a website where i index data from MongoDB. def postToEs(self): '… Read more How To Do Mapping While Indexing In Elasticsearch

How Do I Tell An Elasticsearch Multi-match Query That I Want Numeric Fields, Stored As Strings, To Return Matches With Numeric Strings?

I am writing a Flask app and I am using elasticsearch. Here is search.py: from flask import current… Read more How Do I Tell An Elasticsearch Multi-match Query That I Want Numeric Fields, Stored As Strings, To Return Matches With Numeric Strings?

Change Numerical Data To Text In Csv File

The below query is grabbing data and creating a CSV file, the issue that I am having is that the so… Read more Change Numerical Data To Text In Csv File

Querying Elasticsearch With Python Requests Not Working Fine

I'm trying to do full-text search on a mongodb db with the Elastic Search engine but I ran into… Read more Querying Elasticsearch With Python Requests Not Working Fine

Haystack Elasticsearch Realtimesignalprocessor Updates Only "default" Connection

I have 3 search indexes and 3 haystack connections. I want the indexes to be updated in real time s… Read more Haystack Elasticsearch Realtimesignalprocessor Updates Only "default" Connection

Django Haystack Distinct Value For Field

I am building a small search engine using Django Haystack + Elasticsearch + Django REST Framework, … Read more Django Haystack Distinct Value For Field

How To Use Elasticsearch.helpers.streaming_bulk

Can someone advice how to use function elasticsearch.helpers.streaming_bulk instead elasticsearch.h… Read more How To Use Elasticsearch.helpers.streaming_bulk

How To Merge Two DSL Query For Aggregation And Filter

I need to search BusinessArea which is Research or Accounting this is array of fields(OR) statement… Read more How To Merge Two DSL Query For Aggregation And Filter

Django Haystack Distinct Value For Field

I am building a small search engine using Django Haystack + Elasticsearch + Django REST Framework, … Read more Django Haystack Distinct Value For Field