Skip to main content

Questions tagged [elasticsearch]

Elasticsearch is a search server based on Lucene. It provides a distributed, multitenant-capable, full-text search engine with a RESTful web interface and schema-free JSON documents. Elasticsearch is developed in Java and is released as open source under the terms of the Apache License. Elasticsearch is the second most popular enterprise search engine.

Filter by
Sorted by
Tagged with
4 votes
0 answers
2k views

I'm using this script to bulk update docs in my index. I need to update a field of a doc in Elasticsearch and add the count of that doc in a list inside python code. The weight field contains the ...
Marzi Heidari's user avatar
3 votes
2 answers
178 views

I have written a Python script whose purpose is to read logs from CloudWatch and then post them to ElasticSearch. It is not quite finished but I've progressed far enough that I could benefit from ...
Alex Harvey's user avatar
4 votes
1 answer
13k views

I am using Elasticsearch v6 and NEST to search the advertisements that I create on my website. This is my Document (from which I build the Index): ...
Hooman Bahreini's user avatar
2 votes
0 answers
515 views

I am developing an online shopping website. I have a class Item, which contains all the common attributes of all products (I will explain the interfaces at the end) ...
user avatar
2 votes
1 answer
394 views

I have a case study where I need to take data from a REST API do some analysis on the data using an aggregate function, joins etc and use the response data in JSON format to plot some retail graphs. ...
codaholic's user avatar
  • 185
6 votes
2 answers
362 views

I am putting together a little module for oss release that will let you parse a boolean expression consisting of and/AND/or/OR's (no brackets yet) and output a ...
Johannes valbjørn's user avatar
5 votes
1 answer
1k views

The following is a Python 3 script I wrote to take and delete elasticsearch snapshots. Could anyone please point out any issues? I am concerned that I have structured the code poorly (particularly the ...
Chris's user avatar
  • 51
4 votes
3 answers
146 views

Can you please provide some improvement advice for the following function? It is working OK now, but as I have zero experience with PHP I guess there is a lot of room for improvement. ...
msbir's user avatar
  • 43
4 votes
1 answer
954 views

I am new in python and have written first code to convert Logstash YAML style configuration file into ElasticSearch Logstash JSON style config. Please have a look at my piece of code and let me know ...
nat's user avatar
  • 159
0 votes
1 answer
95 views

I am trying to get all the master nodes in an elasticsearch cluster using this code. Can I reduce/simply this or optimize further? ...
adele dazim's user avatar
2 votes
0 answers
1k views

I'm trying to implement a simple name search using elasticsearch and a java app as the client. Schema: ...
Alkis Kalogeris's user avatar
3 votes
0 answers
256 views

I need to use elasticsearch in my node.js project, whose API looks like the following: ...
user490895's user avatar
2 votes
1 answer
959 views

I have about a million records in Redis which I want to dump into Elasticsearch periodically. I just want to make sure that my script is decent enough in terms of speed and no memory leaks. ...
toy's user avatar
  • 813
2 votes
0 answers
858 views

Including the full module, but the method I'm interested in is createIndex, feels more complicated than I think it should be. Still new at both node and elasticsearch ...
skarface's user avatar
  • 121
1 vote
1 answer
788 views

I wrote a script to save comments and submissions from Reddit using Elasticsearch. Is there any way to improve the speed of inserting new items into Elasticsearch? ...
kyle k's user avatar
  • 1,537
3 votes
1 answer
423 views

I'm using Searchkick in a situation where a user might write the location they are searching for, or the thing they are searching for, or both. I've been working on the below code for most of the ...
Phasy's user avatar
  • 65
2 votes
0 answers
4k views

I tried to implement the idea given in the elasticsearch doc about reindexation albeit I think they must code it inside ElasticSearch and expose it as an API. ...
Julien Palard's user avatar