Questions tagged [elasticsearch-7]

Use this tag for version specific questions about Elasticsearch 7.0 - the distributed, RESTful search and analytics engine. When using this tag also include the more generic [elasticsearch] tag where possible.

314 questions
0
votes
1 answer

How to get total records with pagination in Elasticsearch

In my product index I have 60K records, I'm running a match query with from, size params. by default, ES support a 10k record search so I have increased it to 60k. My issue is I'm already passing size param from API & I want to search in 60K records…
0
votes
1 answer

Unable to delete index pattern in Kibana

I have moved from ELK 7.9 to ELK 7.15 in an attempt to solve this problem and it looks like all that effort was of no use. I am still unable to delete the index pattern in Kibana, neither through the console, nor through the GUI. Trying to delete it…
qre0ct
  • 5,680
  • 10
  • 50
  • 86
0
votes
1 answer

Migrating negative boost to elasticsearch v7

Elastic search disallows negative boost values with v7. Is there a way to reproduce the same behaviour in the new version v7 as it worked in v6 or lower? I.e. if I had a should query with various multi_match queries (or other) and one or more of…
ju_
  • 569
  • 1
  • 4
  • 17
0
votes
1 answer

Is this possible to customize the elasticsearch result in magento2?

When i search a product it gives many irrelevant product i want to skip those. Please help if someone know how it is possible.
0
votes
1 answer

Error on starting Elastic Transport client - Unsupported transport.type [netty4]

I'm migrating code from elastic 5 to 7 Elastic dependency in pom : 7.12.1 org.elasticsearch elasticsearch
Julias
  • 5,752
  • 17
  • 59
  • 84
0
votes
1 answer

How to find out capital word with ngram tokenizer in Elasticsearch 7

I have to search out account temp123, TEMP456 with word temp OR TEMP Here is my index with ngram tokenizer and some sample doc # index PUT /demo { "settings": { "index": { "max_ngram_diff": "20", "analysis": { …
han
  • 103
  • 7
0
votes
1 answer

script_score query does not support [query]

**Hey everyone, i'm trying to apply a custom score using script score but i'm facing this issue...i would really appreciate your help Here's the query i'm using for that. my query was based on the documentation of Elastic about script_score which…
0
votes
1 answer

Elasticsearch cluster cannot discover nodes

I'm trying to setup a 2 node cluster. But it seems like the nodes cannot discover each other. Node 1 yaml file cluster.name: es-cluster node.name: es-node-a path.data: /my/path/data/elasticsearch path.logs: /my/path/log/elasticsearch network.host:…
nick
  • 1,611
  • 4
  • 20
  • 35
0
votes
1 answer

How to get all Field names with filter(or query) criteria on ElasticSearch?

PUT /test-product { "mappings": { "properties": { "profile": { "type": "nested" }, "product": { "type": "nested" } } } } i have a index that name's 'test-product' POST /test-product/_bulk {…
0
votes
0 answers

How can I influence Elasticsearch scoring by using higher score results informations?

I am upgrading my Elasticsearch server from version 1.6.0 to 7.12.1, which made me rewrite every query I had. Those queries retrieves materials identified by 3 field : nature.idCat, nature.idNat and marque.idMrq (category ID, nature ID and brand…
Natty
  • 497
  • 1
  • 11
  • 23
0
votes
1 answer

ElasticSearch adjacent words for nested queries

I'm using ES 7.14/Kibana 7.10, I have to search for adjacent words (any order), hence I'm using this query: { "query":{ "bool":{ "must":[ { "query_string":{ "query":"*antonio*…
loretoparisi
  • 15,724
  • 11
  • 102
  • 146
0
votes
1 answer

i want to search for documents that field exists only search term in elasticsearch

part of my document mapping below: "character_cut": { "type": "keyword" } and sample data is here. doc1 character_cut: ["John"] doc2 character_cut: ["John", "Smith"] doc3 character_cut: ["Smith", "Jessica", "Anna"] doc4 character_cut: ["John"] if…
JYL
  • 193
  • 2
  • 16
0
votes
1 answer

Getting JavaNative Error when run elasticsearch as non-root User

I am using elasticsearch in a liferay portal (sidecar). Unfortunately, elasticsearch can only be startet as root user. Otherwise, I get a java native error in org.elasticsearch.bootstrap.JNANatives.trySetMaxNumberOfThreads on bootstrapping: V …
Andre Albert
  • 1,386
  • 8
  • 17
0
votes
1 answer

Elasticsearch reindex then cant add mapping

Hi Elasticsearch experts! Wondering if someone can help with a strange thing that is happening: We have an index in which the amount of mappings has grown massive (over 3000) and we want to reduce this by reindexing. In the new index we will have…
0
votes
1 answer

How to get the data from Index by using an array of ids, docs should be fetched in the same order provided in an array. using elasticsearch 7.1 3

I want to get all those data in the same order, whatever the order is there in values array { "query": { "ids": { "values": [ "BqQI7ncBXJtfdGR-NWLA", "P6QAX3gBXJtfdGR-oWLL", "NKSJP3gBXJtfdGR-vWIY", …
Gaurav Kumar
  • 349
  • 1
  • 2
  • 13