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.
                17 questions
            
            
            
                4
            
            votes
        
        
            
                0
            
            answers
        
        
            
                2k
            
            views
        
        
            
            
        Elasticsearch update script using python bulk update [closed]
                    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 ...
                
            
       
        
            
                3
            
            votes
        
        
            
                2
            
            answers
        
        
            
                171
            
            views
        
        
            
            
            
        Feedback on generator functions and class composition in Python 3
                    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 ...
                
            
       
        
            
                4
            
            votes
        
        
            
                1
            
            answer
        
        
            
                13k
            
            views
        
        
            
            
        Building a dynamic Elasticsearch query using NEST
                    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):
...
                
            
       
        
            
                2
            
            votes
        
        
            
                0
            
            answers
        
        
            
                515
            
            views
        
        
            
            
        Classes for an online shopping website, using a combination of Inheritance and Composition
                    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)
...
                
            
       
        
            
                2
            
            votes
        
        
            
                1
            
            answer
        
        
            
                392
            
            views
        
        
            
            
            
        Too slow JSON data processing using SQL
                    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.
...
                
            
       
        
            
                6
            
            votes
        
        
            
                2
            
            answers
        
        
            
                355
            
            views
        
        
            
            
            
        Boolean string to elasticsearch query OSS module
                    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 ...
                
            
       
        
            
                5
            
            votes
        
        
            
                1
            
            answer
        
        
            
                1k
            
            views
        
        
            
            
        Python script to manage elasticsearch backups
                    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 ...
                
            
       
        
            
                4
            
            votes
        
        
            
                3
            
            answers
        
        
            
                144
            
            views
        
        
            
            
        Create elasticsearch document from php
                    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.
...
                
            
       
        
            
                4
            
            votes
        
        
            
                1
            
            answer
        
        
            
                954
            
            views
        
        
            
            
            
        Converting Logstash YAML style configuration file into ElasticSearch Logstash JSON style config
                    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 ...
                
            
       
        
            
                0
            
            votes
        
        
            
                1
            
            answer
        
        
            
                95
            
            views
        
        
            
            
        Getting all the master nodes in an elasticsearch cluster
                    I am trying to get all the master nodes in an elasticsearch cluster using this code. Can I reduce/simply this or optimize further?
...
                
            
       
        
            
                2
            
            votes
        
        
            
                0
            
            answers
        
        
            
                1k
            
            views
        
        
            
        Elasticsearch: Simple name search
                    I'm trying to implement a simple name search using elasticsearch and a java app as the client.
Schema:
...
                
            
       
        
            
                3
            
            votes
        
        
            
                0
            
            answers
        
        
            
                255
            
            views
        
        
            
        Wrapping a node.js module using elasticsearch
                    I need to use elasticsearch in my node.js project, whose API looks like the following:
...
                
            
       
        
            
                2
            
            votes
        
        
            
                1
            
            answer
        
        
            
                959
            
            views
        
        
            
            
        NodeJS script to dump data from Redis to Elasticsearch
                    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.
...
                
            
       
        
            
                2
            
            votes
        
        
            
                0
            
            answers
        
        
            
                858
            
            views
        
        
        elastic search index/mapping creation
                    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
...
                
            
       
        
            
                1
            
            vote
        
        
            
                1
            
            answer
        
        
            
                787
            
            views
        
        
            
            
            
        Saving comments and submissions from Reddit using Elasticsearch
                    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?
...
                
            
       
         
         
         
         
         
        