Questions tagged as 'elasticsearch'

1
answer

Create a percolator with elasticsearch-dsl-py

I have a project for a master's seminar that consists of taking a list of 107605 records of articles and we need to enter the information at a percolator type index to finally enter texts through an interface, percolate them and highlight...
asked by 21.03.2018 / 10:19
1
answer

How to transform an api query saved with ElasticSearch into a text variable?

I want to transform the following result of a query into an API saved with ElasticSearch in a text to be used later. b'{"BTC":{"USD":2403.99},"ETH":{"USD":222.1},"DASH":{"USD":179.04}}' b'{"BTC":{"USD":2402.89},"ETH":{"USD":222.1},"DASH":{"USD...
asked by 13.07.2017 / 02:55
1
answer

And on elasticsearch

I started recently to experiment with elasticsearch and I can not do an AND. I have two objects like the following: "objeto1": [{"id": 1,"tipo": [{"id": 1,"valor": 5},{"id": 2,"valor": 4},{"id": 3,"valor": 2}]}] "objeto2": [{"id": 2,"tipo"...
asked by 11.06.2018 / 10:32
2
answers

golang: client declared and not used

I'm doing tests with the go library for elasticsearch: link I have the following code that is my library to connect to the Elasticsearch server: package elasticsearch import ( "fmt" "os" elastic "gopkg.in/olivere/elastic.v5"...
asked by 20.08.2017 / 00:39
0
answers

Kibana: I want to extract a string from a URL

I'm working with kibana, I made a bar graph, but on the x-axis the records are url's What I did for this was add the following script: { "script": "( _value.indexOf('/') > 0 ? _value.substring(_value.lastIndexOf('/')) : _va...
asked by 20.12.2018 / 05:55
0
answers

Query ElasticSearch filtered by a field?

I'm doing a Query with the NEST library of Elasticsearch. I have consulted with date range and it works perfectly, but when it comes to a filter for a particular field, it does not return anything. I would like to filter by one of the Id fiel...
asked by 21.11.2018 / 08:38
0
answers

filters with elasticsearch where both conditions are met

I'm doing a search in elasticsearch where you will have several filters but these filters but you should only bring me results that meet all the filters. This is the code of the search: "query" => [ "bool" =&g...
asked by 05.10.2018 / 19:19
0
answers

Enter data to Elasticsearch

Does anyone know how I can enter a lot of data into elasticsearch? I used logstash, but the connection fails because so many data. I've dealt with Bulk API from Python, but it's too slow. and I used re index api, but I get an "s_s_l_handshake...
asked by 16.08.2018 / 23:27
1
answer

how can I post elastic search from windows?

I am developing a system that will post a log that I have hosted on a virtual server, for now just post the fields that I have not defined and post them in a generic way, the program will also parse it clear-host $contenido=Get-Content -Path \...
asked by 18.07.2018 / 16:45
0
answers

Query WHERE on elasticsearch

I have this query in elasticsearch: $query= $es->search([ 'index' => 'juguetes', 'from' => $f, 'size' => 50, 'body'=>[ 'query'=>[...
asked by 01.06.2018 / 06:22