Questions tagged [elasticsearch]
Elasticsearch is a free and open, distributed, RESTful search engine based on Lucene.
54,798
questions
1vote
0answers
8views
Multi Search Not Possible Within a Mapped Index?
I have the following mapping: { "hero_index": { "mappings": { "dynamic": "strict", "properties": { ...
0votes
1answer
16views
elasticsearch-6.8.13, Multi Match Range Query is not working
I am using the ElasticSearch custom DSLs & want to use the query to find the accommodations that have adults gte [:adults] & lte [:perfect_adults]. Its not working even if we used the static ...
0votes
0answers
15views
How can I connect mysql to Amundsen Lyft?
I'm working on the PoC about Amundsen Lyft for introducing data catalog. So, I use the file 'sample_mysql_loader.py' and insert database information. OS: Ubuntu 18.04 Python: 3.6.9 pip: 21.3.1 ...
0votes
1answer
14views
Elasticsearch Unreachable: [http://kafka:9200/][Manticore::SocketException] Connection refused
I am trying to run Spring application with logstash, Elastic Search, Kafka and Kibana. [main] Attempted to resurrect connection to dead ES instance, but got an error. {:url=>"http://kafka:9200/...
0votes
0answers
14views
Elasticsearch to Spark Stream
So my goal is to read data from Elasticsearch to spark (for streaming) and then training the ML model, i found out its not supported but how to get data to spark from Elasticsearch every time new data ...
0votes
0answers
8views
New elasticsearch-java API `CreateIndexRequest` using `.withJson` causes `co.elastic.clients.util.MissingRequiredPropertyException`
I am having a hard time on using the new elasticsearch-java api client. I am migrating from HLRC to the new elasticsearch java api. When I create an index, I used CreateIndexRequest and load it with ...
0votes
1answer
18views
elastic search sort after aggregation
I have an elastic search query showing distinct value for [Have CVID], for each CONTACT_ID, and I want to sort by [Have CVID] count after aggregation. Where can I add the sort by here? POST /dashboard/...
0votes
2answers
25views
Problems and solutions when using a secondary datastore alongside the main database?
I am in the middle of an interview simulation and I got stock with one question. Can someone provide the answer for me please? The question: We use a secondary datastore (we use elasticsearch ...
0votes
1answer
12views
detect elastic search index last modified time
I'm wondering what would be an efficient way to detect the last modified timestamp of an index in Elastic Search. I have read posts of adding a timestamp fields in pipeline but this solution has ...
0votes
1answer
21views
How to implement autosuggestions with gender typeahead using Elastic search and Java
I am trying include gender in the autosuggestions returned from backend. Present setup : As I type in the search bar, let us say "Sh", it gives autosuggestions like shoes, shirts etc. New ...
0votes
0answers
17views
Amasty Elastic Search - Out of stock products are shown when filtered
We are experiencing problems with out of stock simple products in a configurable parent product. Simple products without stock are shown when selected in a filter even when the product is out of stock....
0votes
0answers
9views
How to either set return code or send data back from Elasticsearch scripted update?
Is there a way to set the response code or send back data when data has been updated? I am doing a scripted update in Elasticsearch. There are two sets of variables in the source that I am sometimes ...
0votes
0answers
29views
Elasticsearch saves document as string of array, not array of strings
I am trying to contain array as a document value. I succeed it in "tags" field as below; This document contains array of strings. curl -XGET localhost:9200/MY_INDEX/_doc/132328908 #=> { ...
0votes
0answers
18views
Elasticsearch search templates - How to construct the search terms in NEST
Currently I have a search template that I am trying to pass in a couple of parameters, How can I construct my search terms using NEST to get the following result. Template PUT _scripts/company-index-...
0votes
1answer
13views
Add Nested To Aggregations
I am trying to build the below aggregation "aggregations":{ "main_aggregation":{ "nested":{ "path":"names" }, ...