elasticsearch Questions

2

Solved

I'm using elastic search and I would like to sort documents having same score to the query shown below, on the basis of higher number of - "likes" field - integer type stored in all documents. Code...
Unfold asked 20/7, 2016 at 21:46

2

I am trying to understand how elastic search supports Geo Spatial search internally. For the basic search, it uses the inverted index; but how does it combine with the additional search criteria ...
Counterrevolution asked 17/5, 2020 at 14:46

2

Solved

I have a query that works sufficiently, but I want to sort the results of this by using levenshtein between the query param and the field in question. Right now I'm doing the query in ES and then ...
Character asked 12/9, 2016 at 3:41

21

Elasticsearch won't start using ./bin/elasticsearch. It raises the following exception: - ElasticsearchIllegalStateException[Failed to obtain node lock, is the following location writable?: [/home...
Valvulitis asked 8/3, 2015 at 21:35

9

I am trying to start elasticsearch by running .bin/elasticsearch from the elasticsearch directory. However, I keep getting the error message ERROR: Elasticsearch exited unexpectedly. What could be ...
Caliber asked 10/8, 2022 at 14:5

3

Solved

I'm trying to do a negative lookahead on an elasticsearch query, the regex is: (?!.*charge)(?!.*encode)(?!.*relate).*night.* the text that I'm matching against is: credited back on night s...
Ut asked 28/7, 2016 at 20:4

12

Solved

I'm using this container to start elasticsearch in docker. In accordance with the manual I have to update max_map_count to start the container sudo sysctl -w vm.max_map_count=262144 but.. I ca...
Clifford asked 16/12, 2016 at 21:29

6

I am trying to use nfs mount as my elasticsearch data directory, earlier I was using host storage. But when I am trying to up my container, I am facing below mentioned error : ElasticsearchExcepti...
Wifehood asked 11/1, 2021 at 13:55

2

Solved

I have set up a Grafana alert, that alerts when my values in a graph reaches a specific value. And that value was reached a month ago and ever since then the state has been "ALERTING". I obviousl...
Barbershop asked 6/11, 2019 at 11:26

5

I am having an issue where i want to reduce the number of results from Elastic search to 1,000 no matter how many matching results are there matching, but this should not affect the ranking and sco...
Dutyfree asked 23/1, 2017 at 9:45

20

Solved

I recently upgraded to Elasticsearch version 6.1.1 and now I can't bulk index documents from a JSON file. When I do it inline, it works fine. Here are the contents of the document: {"index" : {}} ...
Rabi asked 2/2, 2018 at 9:52

3

Solved

I have some documents which have the same content but when I try to query for these documents, I am getting different scores although the queried field contains the same text. I have explained the ...
Fenella asked 29/1, 2013 at 10:28

3

I want to count number of document returned as a result of a query with size limit. For example, I run following query: curl -XGET http://localhost:9200/logs_-*/a_logs/_search?pretty=true -d ' { "...
Snuff asked 15/5, 2013 at 12:26

4

Solved

Hi I am doing some research before I implement search feature into my service. I'm currently using PostgreSQL as my main storage. I could definitely use PostgreSQL's built-in Full-Text-Search but ...
Boldface asked 12/11, 2019 at 5:2

5

Solved

it seems that SpringData ES don't provide classes to fetch highlights returned by ES. Spring Data can return Lists of Objects but the highlights sections in the Json returned by ES is in a separate...
Vellicate asked 5/5, 2016 at 11:45

2

Solved

I am using Spring Data Elastic Search for querying from elastic search DB. I need to highlight and display the searched text in the search results. I have my setting like below SearchQuery sear...

3

My goal is to populate certain fields in mongoosastic search, but if I do the following codes, it will always return Here's the code var mongoose = require('mongoose'); var Category = require('...
Phip asked 3/2, 2016 at 16:55

8

Solved

How would I get the values of all the languages from the records and make them unique. Records PUT items/1 { "language" : 10 } PUT items/2 { "language" : 11 } PUT items/3 { "language" : 10 } ...
Tupler asked 23/8, 2014 at 18:42

2

I've tried many solutions listed here (increasing of memory limit, adding parameterlimit, adding type as 'application/json') to fix this 'Request Entity too large' error (it also returns http code ...
Camisole asked 30/12, 2017 at 14:53

9

Solved

I can't see any description of when I should use a query or a filter or some combination of the two. What is the difference between them? Can anyone please explain?
Leafy asked 30/1, 2013 at 3:3

4

I've created a new AWS ElasticSearch domain, for testing. I use ES on a different host right now, and I'm looking to move to AWS. One thing I need to do is set the mapping (analyzers) on my instan...
Hybridism asked 13/10, 2015 at 21:59

2

Fuzziness stopped working after me adding synonym file to the index. It seems like , it's not possible to use them at the same time. My query: "query": { "dis_max": { "queries": [{ "multi_m...
Sheri asked 1/12, 2016 at 13:20

2

ERROR:Factory method 'elasticsearchClient' threw exception; nested exception is java.lang.IllegalStateException: availableProcessors is already set to [4], rejecting [4] I just want to use redis ...
Beaton asked 4/9, 2018 at 12:35

11

Cannot resolve these problems: [2017-10-16T13:54:23,381][WARN ][o.e.b.BootstrapChecks ] [node-1] max file descriptors [65000] for elasticsearch process is too low, increase to at least [65536] [...
Thermy asked 16/10, 2017 at 13:12

2

Solved

Relevant info: Grafana v5.4.2 (commit: d812109) ElasticSearch version: 5.6.8 There is an ES index that is a log of events over time, and the events are categorised (per country). There is a gr...
Raffarty asked 25/7, 2019 at 13:30

© 2022 - 2024 — McMap. All rights reserved.