Elasticsearch Questions
Ad
Read-only file system: 'data.json': IOError in aws lambda function
I am trying to read data from pdf stored in s3 bucket, convert it to text and then dump these text into json file. finally i want to
ElasticSearch... Not So Elastic?
I have used this method to build elastic search clusters in the cloud. it works 30%-50% of the time. i start with 2 centos nodes in 2
Elasticsearch: Query to filter out specific documents based on field value and return count
I'm trying to compose a query in elasticsearch that filters out documents with a specific field value, and also returns the number of documents
Logstash pipeline is failing when adding filter block in it
I am creating logstash pipeline where i am giving log file as an input and reading those logs on elasticsearch. i want to add geoip
How to make elasticsearch query with Python lists
I have dynamic lists returning from a microservice. for example, list1 = ["abc","def","efg"]
How to delete index using Spring Data Elasticsearch?
I am trying to delete indices in elasticseach instance by code instead of native query. so i want to do this request: delete
how do i check if hits has a value or not?
My goal is to send an alarm if the [hits] field is empty. this is my result: hits: { total: { value: 10000, relation: 'gte'
Fuzzy search in ElasticSearch doesn't work with spaces
I'm using the fuzzy search option in elasticsearch. it's pretty cool. but i came across an issue when doing search for values that have
"Failed to establish a new connection" when trying to access Elasticsearch Cloud with elasticsearch-dsl Python package
I'm experimenting with elasticsearch and indexing some django data using the elasticsearch-dsl python package. i have created
Elasticsearch fuzzy querying without request
In elasticsearch i am capable of finding the results of a query (in this case "science") with following code: from elasticsearch
Ad
How do I search on a property using Elastic Search for Node.js?
I am ingesting various documents to elastic search like so: await client.index({ id: url, index: 'docs', body: { 'url':
How to search based on createdDate and other fields in elastic search
Var elasticsearch = require('elasticsearch'); var client = new elasticsearch.client({ host: 'abc', log: 'trace' });
Boosting results based on a boolean field
I have tons of articles in various stores. some of these articles are own brand articles and should be ranked higher than other articles in my
How to put script into elasticsearch using their node client?
I'm using the latest version of elasticsearch
Python 3: How to automatically create index with json variable and send to Elasticsearch?
I wanted to create an index from my json variable which got from using curl and its contains these data {
How to fetch particular documents in elasticsearch index
I want to fetch all the data of the corresponding particular field, and have a response of the elastic search. { "took": 2,
Passing only few data to the JSON.parse() into Elasticsearch
Here i only have to allow few data coming from json and index in elasticsearch. so what is the perfect way to do it, rather than delete each
How to delete multiple id documents in elasticsearch index
Var elasticsearch = require('elasticsearch'); var client = new elasticsearch.client({ host: 'abc', log: 'trace', apiversion:
How to create a search using multiple variables and to make them not mandatory
I have this code : let jobs = await client.search({ index: 'something', type: 'doc', body: { query: {
searching with elasticsearch js with multiple fields
Hi guys i have this code : let test = await client.search({ index: 'test', type: 'doc', body: { query: {
laravel 6 + elasticsearch-php 7.6 + xampp: No alive nodes found in your cluster
I use elasticsearch-php in my laravel app with xampp.
Ad
Elasticsearch - find closest number when scoring results
I need a way to match the closest number of an elasticsearch document. i'm wanting to use elastic search to filter quantifiable attributes
How to list ALL indices using elasticsearch.js client
I need to list all indices in my node.js app, using elasticsearch.js node module. what i have is: var elasticsearch =
Custom mapping type in Elasticsearch 7.3.2 using nodejs
I am trying to create custom mapping type in elasticsearch 7.3.2 using
Problem in installing elasticsearch for Laravel
When i tried to install elasticsearch for my laravel instance using the following command: composer require
enabling Elasticsearch in JHipster results in UnsatisfiedDependencyException: Error creating bean with name ‘userService’
I've been trying to build an app with jhipster that can use some advanced filtering, in particular elasticsearch. why does it fail when i run it
how can i fix 'failed to find geo_point field [pin.location]'
So i have a index for my map points and i need to put some data in it. but it seems it does not register my data as a valid input for pin.location
How do I create auto increment value for a field in elastic search
I'm setting up an api for reading employee details, how can i se index id and employee id as auto-increment i'm using express4.17 and
Why am I unable to insert a document into my Elasticsearch index via a Firebase Cloud function?
I am trying to insert a document into my elasticsearch index via a firebase cloud function but i keep getting the following error:
Db's data is continuously piling up in hits
I am making search function by linking mariadb with elasticsearch and logstash. by the way.. by the way, every time i get a value
Elasticsearch Node.js client get term suggestions?
How to get term suggestions from elasticsearch using node.js client? i'm trying to find some examples on the elastic
laravel elasticsearch just search from first model
I installed the scout and then the erick tamayo / laravel-scout-elastic driver. i successfully added the first model
Ad
Elastic search, Logstash: document_id string does not get evaluated
To prevent data duplication while injesting data from logstash i am adding a document_id string for logstash conf with a peoplerowid column.
Elasticsearch return phonetic token with search
I use the phonetic
couldn't connect to ElasticSearch inside GetCandy
As am following the documentation in the site here
Invalid Host Header when using elasticsearch client
When using the elasticsearch client (from the elasticsearch npm version 15.4.1), the aws elasticsearch service complains about an invalid host
Reactive search filter available filters
I have set up a sample application based on filtering car sales
How to map a Firestore date object to a date in elasticsearch
I am using a cloud function to send a firebase firestore document to elasticsearch for indexing. i am trying to find a way to map a firebase
Best practices on limiting memory usage of Elasticsearch for local development environment
I have a ruby on rails app for which i use docker compose to develop locally. i always use a copy of our production postgresql database which is
Is there a way to trigger update views right after CRUD operation
I'm having a simple crud app. when i make ajax call to delete (for example) a document, then i want to update the view with the new document
How to get documents that were updated in the last hour from firestore?
I am trying to implement full text search of firestore db by using elasticsearch. in order to sync the firestore data to elasticsearch, i
how do add a custom scoring script in painless
This language is not painless at all... zero examples and the docs are lacking... i am trying to build a custom distance function between
Elasticsearch filter term is not working?
I am trying to get a very basic filtered query to work with elasticsearch. { "query": { "bool": { "must": {
Ad
How to deal with aggregations (group by) in elasticsearch
I'm migrating from sql to elasticsearch but i faced some issues with aggregations especially group by my query looks like
Elasticsearch Javascript Client Update not working
I am using elasticsearch javascript client with nodejs (typescript). the update query is not working as expected can any one help me on this
Delete By Query API working as curl but not in Node-Red
Background: what i am trying to achieve is to delete multiple values from elastic using a single api call. our app uses
How to parse JSON object into a list of objects in C#
Our organization recently changed its database from sqlserver to elasticsearch and i am about creating an application for that, i could
Elastic search for mutliple fields in indexed data
I am using monogsastic npm for my elastic search in node js. i wanted to query on more than one field.the condition that i want to use is either
How to map Elasticsearch match_phrase query in flutter
I am trying to add elasticsearch to my flutter app. i am using
Connection pooling in elasticsearch
How can we configure connection pooling for elasticsearch in node js? for handling instance failures and detecting dead nodes. how can i
Is there a way with ElasticSearch to only show aggregations?
I'm trying to retrieve some data from elasticsearch. so far everything is working perfectly and i can query data. but whenever i try to
Group By Aggregation
I have searched for similar questions and have not found a question that allows me to group the count of an attribute with another attribute. i
pyspark write dstream data to es with saveAsNewAPIHadoopFile get warnning
This is my code: es_write_conf = { ¦ "es.nodes" : es_ip, ¦ "es.port" : es_port, ¦ "es.resource" :
dump bulk data in elastic search using python api
I want to index shakespeare data in elastic search using its python api. i am getting below error. put
Ad
How to add multiline painless code in nodejs
So in my js-code i have this line: var _script = { _script: { script: {
elasticsearch query returns more than hits
My indexing python file below there should be seven hit that matches the query based on the real data, but it keeps producing 10 results.
Build relation between elasticsearch aggregators - Nested groupings
I need to create nested groupings between fields. let us consider the example given below, documents: {
Node Elasticsearch bulk index fails silently
Using nodejs client to work with elasticsearch: elasticsearch 6.6 node elasticsearch client 15.4.1 i am
How can I retrieve search results with only one click of the search button instead of two?
I am working on a node.js + elasticsearch + react.js project and i have managed to get the search to work! however, i have to click the search
constant_score query does not support query in the code
"constant score query doesn't support query" error is coming when i am trying to run the following code. client.search({
How do I connect PySpark to Elasticsearch with SSL and verify certs set to False?
Previously i have successfully connected to an elasticsearch cluster directly from python with the following code: ssl_context =
Search multiple collections with mongoosastic
In a node.js application, i am using mongoosastic to retrieve data from elasticsearch : article.search({ "match_all": {} },
How to find equal values in different fields in Elasticsearch via Python Query?
I've got values in elasticsearch (+kibana) and want to make a graph, where certain nodes are connected. my fields are "prev" and "curr"
Indexing Numpy array into Elasticsearch
I am using elasticsearch 6.4 along with python 3. i am processing images and one of the output is a numpy array. i am trying to index the numpy
How to make requset in Elasticsearch?
I have sql query : select title, path from geo where title in ["london","france"] and path like "000000039%" and
Ad
Elasticsearch, disregard built-in mapping details in GET response
Elasticsearch: v7.0 application: laravel v5.8 using elasticsearch/elasticsearch
How can I create an Elasticsearch Query DSL for finding objects with empty array OR a value in same object
I am searching for objects in elasticsearch 6.3. i have 3 objects: { identifier: 01, linecodes: [], }, { identifier:
Why am I getting "No alive nodes found in your cluster" using Laravel and Docker?
I try to set up elasticsearch on laravel project using the docker and babenkoivan/scout-elasticsearch-driver. when i start docker, all containers
Problem of size for my query to ElasticSearch
I make a request to my es in python but i can only get 10,000 data. i will need to recover many more ( several hundred thousand). i've
Spring Data Elasticsearch Inheritance
Is there any way to make a super-class document (e.g. index name = user) and create two child classes (admin,
Elasticsearch: Filtering by Date and Article Category
I am going through an elasticsearch tutorial, and i had something pop into my mind. what if i want to filter based on two different attributes at
ElasticSearch _update_by_query filter elements of array
Problem: i need to remove numbers > 25000000 from array in elasticsearch using _update_by_query. curl -xpost
Elasticsearch [Query Bool Must Match] performs OR operation instead of AND
I'm trying to perform a basic login operation where my view (front end part) accepts a username and password through a form so in sql, i
How to store a script in a string?
I have an elasticsearch script which i need to store somewhere, somehow, i tried to use back quotes "`script here`" but it added
How to add post fields on the basis of result of elastic search
Actually i want to add "is_promoted" field in the response according to the result of elastic search if the "doc_count" is 1 then i have to fetch
How to check if all values exists inside nested object elastic search
I have following document in es : [ { "event_id": 123, "event_name": "test event", "event_date": "2018-12-21",
Ad
Javascript Querying on Elasticsearch does not work on Child Elements
I am trying to display searchresults on a elasticsearch database in my reactjs-app. nevertheless i can only access the upper layer of key value
How to index in elasticsearch using post request in Python?
I am facing an issue: requesterror(400, 'illegal_argument_exception', 'mapper
Hostname resolution not working from within Elasticsearch client under Docker
Having some trouble with elasticsearch running within a laravel application on docker. i've had the same application running seamlessly on a local
django elasticsearch giving empty records while the database has records
Models.py class job(models.model): job_title = models.charfield(max_length=256) def __str__(self):
Elasticsearch must some values and must not all others
So i have an index with the following mapping: { "tests": { "mappings": { "test": { "properties": {
python elasticsearch bulk: Malformed action/metadata
I wrote a piece of code that aims at injecting irc eggdrop logs to an elasticsearch 6.4 database using python
NodeJs and ElasticSearch: Bulk insert error: Failed to derive xcontent
I can't find my mistake, i am trying to insert an array of the element into elastic search using the bulk method with elasticsearch library.
Logstash - splitting the log into a csv file
I want to use logstash to separate the appropriate logs by a constant value appearing in these logs, and then divide the log into pieces after the
How to connect to AWS ElasticSearch using npm elasticsearch and http-aws-es?
I am using the npm elasticsearch package to search my aws es domain. everything seems to work fine when i use postman to make post requests with
Mocha ingores tests, how to launch the all
I am creating a node.js plugin to post data to elasticsearch. i have four unit tests in my test file. however mocha launches only the two of them
Update elastic search doc field value for specific fields in all documents
I have documents like this. { "a":"test", "b":"harry" }, { "a":"" "b":"jack" } i need to update docs with field
Ad
Best practice to update a column of all documents to Elasticsearch
I'm developing a log analysis system. the input are log files. i have an external python program that reads the log files and decide whether a
Elasticsearch v6.0.1 Nodejs boost match with one of arrays elements
In my project i have user objects like this. { "_id": "1", "username": "raggro", "name": "vardan tadevosyan" }, { "_id":
How to add url parameters to elasticsearch UpdateByQuery in elasticsearch
I have a nodejs app that calls es's updatebyquery api like below: elasticsearchclient.updatebyquery({ index:
node.js elasticsearch API query search request sending a POST method instead of GET
I'm using the elasticsearch api for node.js to make the
Setup elasticsearch mappings in cviebrock/laravel-elasticsearch
I try to setup my elasticsearch document by using
NodeJs connecting to elasticsearch
I am trying to update my rest api to use elasticsearch, i found the mongoosastic plugin which seems to be the best solution but i cannot find out
Issue in updating elastic search field
This how my result source looks like. {"_source": {"name": "where's my crown angry birds 3","movie_id":69}} i
ionic+firebase+elasticsearch can't auth with elasticsearch.js
Const client = new elasticsearch.client({ host: [ { host: '35.192.45.130//elasticsearch', auth: 'user:password',
How to get between days elasticsearch
I had sql query to retrieve how many days from now and check for in between days. mysql query select * from
ReactiveSearch, DataSearch and indexing user query
I'm using the datasearch from reactivesearch for an autocomplete feature and i'm trying to figure out how i can take the user's selected query and
Unable to query nested object
Elasticsearch 6.2.4 index has mapping: { "watcher" : { "aliases" : { }, "mappings" : { "doc" : {
Ad
Add a field in ElasticSearch using python with boolean datatype?
How do add a new field of a particular datatype(boolean) in elasticsearch using python. is this query correct?
Suggestions are not showing for DataSearch when the search needs to happen on elastic field of array type
My elastic search provides the results as an elastic array. here is how the mappings look. "positions": {
Ad
Blog Categories
Ad