Questions tagged [elasticsearch-1.7.5]

10 questions
2
votes
2 answers

Optimize API for reducing the segments and eliminating ES deleted docs not working

This is in continuation of my previous question Does huge number of deleted doc count affects ES query performance related to deleted docs in my ES index. As pointed in the answer, I used optimize API as I am using the ES 1.X version where force…
user12056260
1
vote
0 answers

Random org.apache.http.conn.ConnectTimeoutException in old elasticsearch(1.X) using the Jest client

I am using very old Elasticsearch 1.x I know its EOL but no choice here and as that time official ES client was not there, using Jest client to interact with Elasticsearch and occassionaly seeing the timeout exception when Jest is trying to…
user12056260
1
vote
1 answer

Elasticsearch analyze API shows wrong tokens with 1.X version when used according to 7.X syntax

While working on one of the user's queries, where initially I assumed he was using the latest version and when he showed analyze API, it was surprising. Custom analyzer for which tokens needs to be checked { "settings": { "analysis": { …
Amit
  • 30,756
  • 6
  • 57
  • 88
1
vote
0 answers

How to update a field inside an array object in Elastic Search?

Below is a snippet from ES response body. What I want is to update the field inside labels array like for ex "Y" to "Y". I tried "labels.Y":"Y" but it created a field with key "labels.Y" and value "Y". But not traversed to the field inside the…
rahul
  • 31
  • 1
  • 6
0
votes
1 answer

Elasticsearch: Stem problem for polish on/ona

I'm new in elasticsearch and having trouble with polish using elasticsearch search query, for example on/ona (means men/women in polish). The problem is if i use standard analyzer, it seems to understand men/women filter and return correct records,…
0
votes
1 answer

How to query exact match of a string on any field in Elasticsearch 1.7

We have a use case that require us to fetch all records that has an exact match on any field value. E.g. check if any of the below field has a exact string value as "auto-scaling-groups" Record 1: { "name": "auto-scaling-groups", "created_by":…
Azura
  • 21
  • 1
  • 3
0
votes
0 answers

TooManyClauses error with version 1.7 Elasticsearch

I use Elasticsearch with version 1.7 (I know it is very old). I got TooManyClauses error and I wanted to increase the default value of max_clause_count. (default 1024) Unfortunately, I couldn't set the configuration for elasticsearch. I tried these…
sbb
  • 529
  • 3
  • 25
0
votes
1 answer

ElasticSearch "multi_match" and "minimum_should_match"

I have a very strange case and I cannot understand why this happens. This is part of the query. "must": [ { "multi_match": { "query": "makkara", "type": "best_fields", "fields":…
elena
  • 3,740
  • 5
  • 27
  • 38
0
votes
0 answers

Filters in Elasticsearch 1.7 and java client

I'm using ES 1.7, and i'm experiencing some issues with filters. each doc in our index has a language (PRL), Board of Appeal(BOA), and many other filter. Our application is developed in JAVA and deployed in 5 environments. as an example we have TEST…
0
votes
1 answer

Elasticsearch - What is the best way to reindex my data without using Logstash or the scroll api?

I'm using Elasticsearch version 1.7.5. Before I can upgrade to version 2.x (or even 5.x), I need to reindex five large indices so that they conform to the 2.x standards. Unfortunately, Logstash (and the scroll api) can't reindex my data because of…
Jim G.
  • 15,141
  • 22
  • 103
  • 166