Questions tagged as 'elasticsearch'

1
answer

How to access a specific field of a JSON object using JAVA

I'm using Java to get Twitter information and the ElasticSearch REST client . As a test I made an info PUT in JSON and then used performRequest to get a specific element. //create a json to PUT at the ES Map<String, String>...
asked by 08.08.2017 / 21:20
0
answers

What is the best way or method of studying banks in SQL? [closed]

I need to develop a script that synchronizes a cassandra apache database with another elastic search. However, I do not know the operating mechanism of the two, which are banks in SQL. What is the fastest way to get up to speed and learn about b...
asked by 19.02.2015 / 05:10
1
answer

Problem in executing query in Elasticsearch

When trying to search the elasticsearch using elasticsearch.js I used the following code below: var cliente = new $.es.Client({ host: 'http://localhost:9200', log: 'trace' }); var cliente = new conectES(); cliente.search...
asked by 09.08.2017 / 15:07
1
answer

Using ElasticSearch, how to get data between a certain range of hours using range

Hello, I'm using ElasticSearch, and my query is not looking for the information I want. { "query": { "bool": { "must": [ { "range": {...
asked by 29.04.2016 / 15:13
1
answer

ElasticSearch: Adding multiple fields in a document

I need to add different fields and merge them into a single field in ElasticSearch search in POST mode in>), but I only know the form that distinctly adds each field, as follows: "aggs" : { "soma1" : { "sum" : { "field" : "consulta...
asked by 24.06.2017 / 00:03
1
answer

How to use minimum_should_match searching for more than one field?

I'm trying to filter my elasticsearch result where the results should be returned where they are 80% compatible with the searched text. When I use only one column the minimum_should_match rule works perfectly: { "size":30, "fro...
asked by 27.03.2014 / 18:51
0
answers

Zipkin + Elasticsearch (ELK) does not create indexes

Hello everyone, I have ELK (6.4.2) working perfectly with filebeat, metricbeat, packetbeat, and winlogbeat on CentOS 7 x86_64 (Kernel 3.10.0-862.11.6.el7.x86_64). I'm trying to integrate zipkin + elasticsearch (see link ), but elasticse...
asked by 24.10.2018 / 18:47
0
answers

Elasticsearch active and after some time deactivates

Good afternoon when I try to access elasticsearch by curl -XGET link gives me connection refused despite being active elasticsearch service. Italsohappensthataftersometimetheelasticsearchchangesfromactivetofailed.At15:44:13itwasstartedanda...
asked by 01.08.2018 / 16:57
0
answers

HayStack's Best Match Going Wrong

I'm learning Haystack and ElasticSearch to implement searches on a website and I've run some tests here, but I noticed that sqs.filter(content='Brazil') returns me all Brazil posts from the site, but the results are not going as I want: I...
asked by 17.01.2018 / 15:31
1
answer

Elasticsearch Inner with store

In my project there are about 40,000 products from different stores, but to return a search for Elasticsearch , I need the city and state filter from where the store is located. The problem is this, if a store has 10,000 products, should I put...
asked by 27.12.2017 / 20:38