# Elasticsearch

**URL:** https://discuss.elastic.co/c/elastic-stack/elasticsearch/6.md?page=176

[Latest](https://discuss.elastic.co/latest.md) · [Categories](https://discuss.elastic.co/categories.md) · [Tags](https://discuss.elastic.co/tags.md)

**Page:** 177

---

## ['error': 'no handler found for uri \[/test\_network\_data/json/1\] and method \[PUT\]'](https://discuss.elastic.co/t/error-no-handler-found-for-uri-test-network-data-json-1-and-method-put/347563)

<div class="topic-metadata">

**Author:** [@Philip\_Doyle](https://discuss.elastic.co/u/Philip_Doyle)\
**Replies:** 3\
**Last updated:** [November 21, 2023, 2:28am UTC](https://discuss.elastic.co/t/error-no-handler-found-for-uri-test-network-data-json-1-and-method-put/347563 "2023-11-21T02:28:59Z")

</div>

As stated in the title, when I try to use the index API in python to index a json document, I get this error every time. I am brand new to the ELK stack but have followed the quick start guides on their website and I hav…

---

## [Highlight on all fields Java API](https://discuss.elastic.co/t/highlight-on-all-fields-java-api/347552)

<div class="topic-metadata">

**Author:** [@Jim\_Song](https://discuss.elastic.co/u/Jim_Song)\
**Replies:** 0\
**Last updated:** [November 20, 2023, 7:56pm UTC](https://discuss.elastic.co/t/highlight-on-all-fields-java-api/347552 "2023-11-20T19:56:04Z")

</div>

I am using Java client api to build a highlight configuration Highlight.of(h -\> h.type(HighlighterType.Unified) .fields(\<a map of fields\>) ... ... How do I specify to highlight on all…

---

## [How to create Nested field in index using Java Client 8](https://discuss.elastic.co/t/how-to-create-nested-field-in-index-using-java-client-8/347496)

<div class="topic-metadata">

**Author:** [@James\_Work\_account](https://discuss.elastic.co/u/James_Work_account)\
**Replies:** 1\
**Last updated:** [November 20, 2023, 7:29pm UTC](https://discuss.elastic.co/t/how-to-create-nested-field-in-index-using-java-client-8/347496 "2023-11-20T19:29:27Z")

</div>

I have an ES index that is created from Java code level when I index a POJO with ElasticsearchClient. How do I specify that I need certain fields to be type: "nested" in my index?

---

## [RequestAbortedError on bulk indexing happens randomly](https://discuss.elastic.co/t/requestabortederror-on-bulk-indexing-happens-randomly/347518)

<div class="topic-metadata">

**Author:** [@Ashan-FCC](https://discuss.elastic.co/u/Ashan-FCC)\
**Replies:** 1\
**Last updated:** [November 20, 2023, 5:23pm UTC](https://discuss.elastic.co/t/requestabortederror-on-bulk-indexing-happens-randomly/347518 "2023-11-20T17:23:25Z")

</div>

I use the bulk api to index fairly large objects. My indexing cronjob runs every 30 seconds which will index any objects updated in the last 30 seconds. I have another cronjob that runs at midnight which updates alot of …

---

## [Is there any way to avoid using dfs\_query\_then\_fetch ?](https://discuss.elastic.co/t/is-there-any-way-to-avoid-using-dfs-query-then-fetch/347540)

<div class="topic-metadata">

**Author:** [@Arnaud\_Schneider](https://discuss.elastic.co/u/Arnaud_Schneider)\
**Replies:** 0\
**Last updated:** [November 20, 2023, 2:42pm UTC](https://discuss.elastic.co/t/is-there-any-way-to-avoid-using-dfs-query-then-fetch/347540 "2023-11-20T14:42:33Z")

</div>

Hello, i have an Elastic query using score to sort results by relevancy. Me, and others devs, have observed that, on one particular request, the order of the results is inconsistent, because the differents documents ar…

---

## [SSL error in docker container](https://discuss.elastic.co/t/ssl-error-in-docker-container/347542)

<div class="topic-metadata">

**Author:** [@Manoj\_Chander](https://discuss.elastic.co/u/Manoj_Chander)\
**Replies:** 0\
**Last updated:** [November 20, 2023, 2:43pm UTC](https://discuss.elastic.co/t/ssl-error-in-docker-container/347542 "2023-11-20T14:43:50Z")

</div>

I am setting up docker container for elasticsearch and kibana : (customised from docker compose) im doing setup container steps manually image used : docker.elastic.co/elasticsearch/elasticsearch:8.11.1 ==============…

---

## [SSL\_ERROR\_SYSCALL error connecting to Elasticsearch using SSL CA Certificate](https://discuss.elastic.co/t/ssl-error-syscall-error-connecting-to-elasticsearch-using-ssl-ca-certificate/347536)

<div class="topic-metadata">

**Author:** [@Giovanni\_Martarello](https://discuss.elastic.co/u/Giovanni_Martarello)\
**Replies:** 0\
**Last updated:** [November 20, 2023, 2:11pm UTC](https://discuss.elastic.co/t/ssl-error-syscall-error-connecting-to-elasticsearch-using-ssl-ca-certificate/347536 "2023-11-20T14:11:38Z")

</div>

Hello I have an Elasticsearch server that uses ssl certificates issued by a certification unit. This is my configuration: #----------------------- BEGIN SECURITY AUTO CONFIGURATION ---------------------- - # # The fol…

---

## [Vault database plugin](https://discuss.elastic.co/t/vault-database-plugin/346756)

<div class="topic-metadata">

**Author:** [@VijayIQA](https://discuss.elastic.co/u/VijayIQA)\
**Replies:** 1\
**Last updated:** [November 20, 2023, 1:37pm UTC](https://discuss.elastic.co/t/vault-database-plugin/346756 "2023-11-20T13:37:58Z")

</div>

Hi Team, I was deployed Elasticsearch 8.8.1 on docker and while installing the vault Elasticsearch database plugin getting an error as

---

## [UnavailableShardsException: at least one primary shard for the index \[.security-7\] is unavailable](https://discuss.elastic.co/t/unavailableshardsexception-at-least-one-primary-shard-for-the-index-security-7-is-unavailable/347393)

<div class="topic-metadata">

**Author:** [@rahul\_sirugudi](https://discuss.elastic.co/u/rahul_sirugudi)\
**Replies:** 5\
**Last updated:** [November 20, 2023, 11:03am UTC](https://discuss.elastic.co/t/unavailableshardsexception-at-least-one-primary-shard-for-the-index-security-7-is-unavailable/347393 "2023-11-20T11:03:48Z")

</div>

Hi, I have deleted all files manually from /var/lib/elasticsearch/nodes/0/indices/. Now when i restart Elasticsearch server. \[2023-11-17T09:20:22,899\]\[INFO \]\[o.e.x.s.a.RealmsAuthenticator\] \[ip\] Authentication of \[elast…

---

## [Slow Wildcard searches are prioritized in Bool queries](https://discuss.elastic.co/t/slow-wildcard-searches-are-prioritized-in-bool-queries/347521)

<div class="topic-metadata">

**Author:** [@ratinhoo](https://discuss.elastic.co/u/ratinhoo)\
**Replies:** 0\
**Last updated:** [November 20, 2023, 10:07am UTC](https://discuss.elastic.co/t/slow-wildcard-searches-are-prioritized-in-bool-queries/347521 "2023-11-20T10:07:10Z")

</div>

Hi, we are dynamically generating bool queries that sometimes include wildcard searches. I understood that the execution order of bool queries is depending on term frequencies, document frequencies and other metrics. Pr…

---

## [How design tracks based on our reality usage?](https://discuss.elastic.co/t/how-design-tracks-based-on-our-reality-usage/347265)

<div class="topic-metadata">

**Author:** [@benelastic](https://discuss.elastic.co/u/benelastic)\
**Replies:** 2\
**Last updated:** [November 20, 2023, 8:56am UTC](https://discuss.elastic.co/t/how-design-tracks-based-on-our-reality-usage/347265 "2023-11-20T08:56:14Z")

</div>

Rally has provided a bunch of out-of-box default tracks. But we may not use those tracks to benchmark our ES deployment, right? What are the best practices to benchmark ES based on our actual scenarios? Is it necessary t…

---

## [Failed to retrieve password hash for reserved user \[elastic\] org.elasticsearch.action.UnavailableShardsException: at least one primary shard for the index \[.security-7\] is unavailable](https://discuss.elastic.co/t/failed-to-retrieve-password-hash-for-reserved-user-elastic-org-elasticsearch-action-unavailableshardsexception-at-least-one-primary-shard-for-the-index-security-7-is-unavailable/347499)

<div class="topic-metadata">

**Author:** [@NIK2501nc](https://discuss.elastic.co/u/NIK2501nc)\
**Replies:** 0\
**Last updated:** [November 20, 2023, 6:42am UTC](https://discuss.elastic.co/t/failed-to-retrieve-password-hash-for-reserved-user-elastic-org-elasticsearch-action-unavailableshardsexception-at-least-one-primary-shard-for-the-index-security-7-is-unavailable/347499 "2023-11-20T06:42:11Z")

</div>

failed to retrieve password hash for reserved user \[elastic\] org.elasticsearch.action.UnavailableShardsException: at least one primary shard for the index \[.security-7\] is unavailable You'll get this issue when in your …

---

## [How to define workload basing on my usage on ElasticSearch?](https://discuss.elastic.co/t/how-to-define-workload-basing-on-my-usage-on-elasticsearch/347386)

<div class="topic-metadata">

**Author:** [@benelastic](https://discuss.elastic.co/u/benelastic)\
**Replies:** 1\
**Last updated:** [November 20, 2023, 4:24am UTC](https://discuss.elastic.co/t/how-to-define-workload-basing-on-my-usage-on-elasticsearch/347386 "2023-11-20T04:24:04Z")

</div>

How to define workload basing on my usage on Elasticsearch?

---

## [How to build dsl query in spring-data-elasticsearch 5 (ElasticsearchOperations , CriteriaQuery)](https://discuss.elastic.co/t/how-to-build-dsl-query-in-spring-data-elasticsearch-5-elasticsearchoperations-criteriaquery/347475)

<div class="topic-metadata">

**Author:** [@dan\_kim](https://discuss.elastic.co/u/dan_kim)\
**Replies:** 0\
**Last updated:** [November 19, 2023, 1:56pm UTC](https://discuss.elastic.co/t/how-to-build-dsl-query-in-spring-data-elasticsearch-5-elasticsearchoperations-criteriaquery/347475 "2023-11-19T13:56:31Z")

</div>

Im trying to write some query using spring data elasticsearch 5 and this is my environment elasticsearch 8 spring boot 3 spring-data-elasticsearch 5 and i can not make query like this so PLEASE help me with building …

---

## [Elasticsearch to DB](https://discuss.elastic.co/t/elasticsearch-to-db/347381)

<div class="topic-metadata">

**Author:** [@dms6978](https://discuss.elastic.co/u/dms6978)\
**Replies:** 4\
**Last updated:** [November 18, 2023, 12:52pm UTC](https://discuss.elastic.co/t/elasticsearch-to-db/347381 "2023-11-18T12:52:03Z")

</div>

Is there a way to move Elasticsearch data into RDBMS?

---

## [Is there a way to throttle or stagger ILM?](https://discuss.elastic.co/t/is-there-a-way-to-throttle-or-stagger-ilm/346324)

<div class="topic-metadata">

**Author:** [@jerrac](https://discuss.elastic.co/u/jerrac)\
**Replies:** 8\
**Last updated:** [November 18, 2023, 7:13am UTC](https://discuss.elastic.co/t/is-there-a-way-to-throttle-or-stagger-ilm/346324 "2023-11-18T07:13:26Z")

</div>

So, a system I'm building that uses ES heavily has been periodically not getting the data that it should out of ES. After digging in a bit, I finally noticed that there was a pattern. The elastic agent queue depth ke…

---

## [Can I deploy .elser\_model\_2\_linux-x86\_64 model on elasticsearch 8.6.2?](https://discuss.elastic.co/t/can-i-deploy-elser-model-2-linux-x86-64-model-on-elasticsearch-8-6-2/347419)

<div class="topic-metadata">

**Author:** [@Rakesh\_Nayak](https://discuss.elastic.co/u/Rakesh_Nayak)\
**Replies:** 2\
**Last updated:** [November 18, 2023, 2:40am UTC](https://discuss.elastic.co/t/can-i-deploy-elser-model-2-linux-x86-64-model-on-elasticsearch-8-6-2/347419 "2023-11-18T02:40:36Z")

</div>

We have an enterprise license and are keen to explore the .elser\_model\_2\_linux-x86\_64 model for our use case. Currently, we use easticsearch 8.6.2 version. How can we deploy the elser models for this?

---

## [Can I Ingest Excel (.xlsx) Files Of Multiple Sheets Into Elasticsearch?](https://discuss.elastic.co/t/can-i-ingest-excel-xlsx-files-of-multiple-sheets-into-elasticsearch/347427)

<div class="topic-metadata">

**Author:** [@Ethan777100](https://discuss.elastic.co/u/Ethan777100)\
**Replies:** 1\
**Last updated:** [November 17, 2023, 11:37pm UTC](https://discuss.elastic.co/t/can-i-ingest-excel-xlsx-files-of-multiple-sheets-into-elasticsearch/347427 "2023-11-17T23:37:39Z")

</div>

I have a year's worth of Excel .xlsx files that are basically tabular reports manually updated by people. 1 file = 1 day worth of Occurrence Reports. The data in here is not in typical csv format. But its manually pop…

---

## [How to store sparse index in Elasticsearch](https://discuss.elastic.co/t/how-to-store-sparse-index-in-elasticsearch/347434)

<div class="topic-metadata">

**Author:** [@DavidAdamczyk](https://discuss.elastic.co/u/DavidAdamczyk)\
**Replies:** 0\
**Last updated:** [November 17, 2023, 9:13pm UTC](https://discuss.elastic.co/t/how-to-store-sparse-index-in-elasticsearch/347434 "2023-11-17T21:13:49Z")

</div>

I would like to store sparse vectors from my models, but I don't want to use ELSER because I need control over the entire process. How can I store sparse vectors, and how can I execute queries without relying on ELSER?

---

## [HIPPA and PHI compliance](https://discuss.elastic.co/t/hippa-and-phi-compliance/347248)

<div class="topic-metadata">

**Author:** [@EZprogramming](https://discuss.elastic.co/u/EZprogramming)\
**Replies:** 1\
**Last updated:** [November 17, 2023, 7:22pm UTC](https://discuss.elastic.co/t/hippa-and-phi-compliance/347248 "2023-11-17T19:22:09Z")

</div>

Hi, we are a health care company thinking about using Elastic cloud solutions, mainly storing our logs on Elasticsearch. Our main concern is whether Elastic cloud is HIPPA and PHI compliant?

---

## [Cannot Use Keyword Multifield that is Child of Text Field in Script](https://discuss.elastic.co/t/cannot-use-keyword-multifield-that-is-child-of-text-field-in-script/347416)

<div class="topic-metadata">

**Author:** [@Ian\_Simpson](https://discuss.elastic.co/u/Ian_Simpson)\
**Replies:** 1\
**Last updated:** [November 17, 2023, 6:52pm UTC](https://discuss.elastic.co/t/cannot-use-keyword-multifield-that-is-child-of-text-field-in-script/347416 "2023-11-17T18:52:13Z")

</div>

I am trying to accomplish case-insensitive aggregation filters on fields with multiple values as via scripting as shown here: Support case\_insensitive for 'Include' of Terms Aggregation · Issue #68819 · elastic/elasticse…

---

## [Minimal security but CORS handling](https://discuss.elastic.co/t/minimal-security-but-cors-handling/347426)

<div class="topic-metadata">

**Author:** [@javerleo](https://discuss.elastic.co/u/javerleo)\
**Replies:** 0\
**Last updated:** [November 17, 2023, 6:27pm UTC](https://discuss.elastic.co/t/minimal-security-but-cors-handling/347426 "2023-11-17T18:27:11Z")

</div>

Hello. I'm trying to set up a local Elasticsearch instance for development purposes. So I started with a basic docker-compose.yml file: services: elasticsearch: image: elasticsearch:8.7.1 ports: - 9200…

---

## [How a user can favorite a item in a search ( many to many ) - product - user](https://discuss.elastic.co/t/how-a-user-can-favorite-a-item-in-a-search-many-to-many-product-user/347424)

<div class="topic-metadata">

**Author:** [@Murilo\_Livorato](https://discuss.elastic.co/u/Murilo_Livorato)\
**Replies:** 0\
**Last updated:** [November 17, 2023, 4:33pm UTC](https://discuss.elastic.co/t/how-a-user-can-favorite-a-item-in-a-search-many-to-many-product-user/347424 "2023-11-17T16:33:15Z")

</div>

hello , I wonder to know how a user could to save favorites , like this image . if I use a relational database , I could make a many to many relational . but with Elasticsearch . how could I do it ? I know that I c…

---

## [Production deployment with dedicated masters](https://discuss.elastic.co/t/production-deployment-with-dedicated-masters/346965)

<div class="topic-metadata">

**Author:** [@DaddyYusk](https://discuss.elastic.co/u/DaddyYusk)\
**Replies:** 9\
**Last updated:** [November 17, 2023, 3:20pm UTC](https://discuss.elastic.co/t/production-deployment-with-dedicated-masters/346965 "2023-11-17T15:20:00Z")

</div>

Hi, I plan to deploy Elasticsearch for a production environment following this architecture : 3 x dedicated Master node (node.roles: \[ master \]) 1 x Hot Data node (node.roles: \[ data\_hot \]) 1 x Warm Data node (node.ro…

---

## [Elasticsearch not working post migration of OS](https://discuss.elastic.co/t/elasticsearch-not-working-post-migration-of-os/347375)

<div class="topic-metadata">

**Author:** [@Techiebee](https://discuss.elastic.co/u/Techiebee)\
**Replies:** 1\
**Last updated:** [November 17, 2023, 2:33pm UTC](https://discuss.elastic.co/t/elasticsearch-not-working-post-migration-of-os/347375 "2023-11-17T14:33:05Z")

</div>

I have migrated my Elasticsearch cluster servers from centos7 to RHEL8 , post migration my cluster isn’t picking the hostname, for every server re-build I have to manually edit the hostname and restart the Elasticsearch …

---

## [Partition HNSW graph per user, elastic KNN](https://discuss.elastic.co/t/partition-hnsw-graph-per-user-elastic-knn/346394)

<div class="topic-metadata">

**Author:** [@s.ankursonawane](https://discuss.elastic.co/u/s.ankursonawane)\
**Replies:** 4\
**Last updated:** [November 17, 2023, 2:21pm UTC](https://discuss.elastic.co/t/partition-hnsw-graph-per-user-elastic-knn/346394 "2023-11-17T14:21:53Z")

</div>

Hi, I was exploring the performance of Elastic KNN search scaling. I would like to section off my hnsw graph per user as my searches will always be filtered by the user. The only way I can think to do this in ES seems to…

---

## [Custom Elasticsearch queries without using script](https://discuss.elastic.co/t/custom-elasticsearch-queries-without-using-script/347404)

<div class="topic-metadata">

**Author:** [@vickram](https://discuss.elastic.co/u/vickram)\
**Replies:** 0\
**Last updated:** [November 17, 2023, 12:39pm UTC](https://discuss.elastic.co/t/custom-elasticsearch-queries-without-using-script/347404 "2023-11-17T12:39:40Z")

</div>

{"publishDate":"2023-08-06T10:34:00Z","data":{"evalFrequency":"3"}} Above is the sample data that I have in Elasticsearch, where I am struggling to find the right query to get results on the basis of the below condition…

---

## [Ssl between nodes](https://discuss.elastic.co/t/ssl-between-nodes/346742)

<div class="topic-metadata">

**Author:** [@My\_Self](https://discuss.elastic.co/u/My_Self)\
**Replies:** 3\
**Last updated:** [November 17, 2023, 11:09am UTC](https://discuss.elastic.co/t/ssl-between-nodes/346742 "2023-11-17T11:09:37Z")

</div>

hi I'm upgrading to 8.5.1 in a kubernetes solution with helm installation And had an issue with ssl between nodes Found The truststore does not contain any trusted certificate entries after upgrade to 8.0 and used so…

---

## [Filebeat elasticsearh](https://discuss.elastic.co/t/filebeat-elasticsearh/347077)

<div class="topic-metadata">

**Author:** [@VijayIQA](https://discuss.elastic.co/u/VijayIQA)\
**Replies:** 13\
**Last updated:** [November 17, 2023, 10:14am UTC](https://discuss.elastic.co/t/filebeat-elasticsearh/347077 "2023-11-17T10:14:04Z")

</div>

Hi Team, I have Elasticsearch database cluster with two nodes in docker. and Kibana configured. while adding filebeat getting an error. filebeat error log pasted here. {"@timestamp":"2023-11-14T04:19:07.634Z", "log.lev…

---

## [Index Management](https://discuss.elastic.co/t/index-management/347321)

<div class="topic-metadata">

**Author:** [@Ted0011](https://discuss.elastic.co/u/Ted0011)\
**Replies:** 4\
**Last updated:** [November 17, 2023, 6:25am UTC](https://discuss.elastic.co/t/index-management/347321 "2023-11-17T06:25:51Z")

</div>

Hi, I am currently running out of storage on my Wazuh Server Hosted server. And from the search I found "/var/lib/wazuh-indexes/\* " is consuming a lot of disk space. First Question, Will it be okay if I delete all the p…

[Previous page](https://discuss.elastic.co/c/elastic-stack/elasticsearch/6.md?page=175)

[Next page](https://discuss.elastic.co/c/elastic-stack/elasticsearch/6.md?page=177)
