Exploit.cz
  • 🍕 Recepty.eu
  • 🛠️ Lidl Tools
  • 👑 Curriculum vitae 👑
  • LinkedIn Profile
  • Github Profile

elasticsearch

A collection of 3 posts
Helm install OpenSearch Cluster with persistence to local disk + Hunspell
kubernetes

Helm install OpenSearch Cluster with persistence to local disk + Hunspell

kubectl apply -f values.yaml values.yaml # Only create this for K8s 1.9+ apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name: local-storage provisioner: kubernetes.io/no-provisioner volumeBindingMode: WaitForFirstConsumer # Supported policies: Delete, Retain reclaimPolicy: Retain --- apiVersion: v1 kind: PersistentVolume metadata: name: opensearch-agent-1 spec: accessModes: - ReadWriteOnce capacity: storage:
Nov 14, 2022 — 3 min read
How to deal with large Doctrine datasets - Symfony console command - OutOfMemoryError - PHP Fatal error:  Allowed memory size of * bytes exhausted
symfony

How to deal with large Doctrine datasets - Symfony console command - OutOfMemoryError - PHP Fatal error: Allowed memory size of * bytes exhausted

Imagine that you want to import your 5000+ items from database to ElasticSearch and you have restricted memory limits (e.g. 128MB). You will probably end up with PHP Fatal error:Allowed memory size of 134217728 bytes exhausted. What you have to do? You have to unconfigure logger, clear entity
Aug 10, 2020 — 1 min read
How to Search across multiple ElasticSearch Indexes with Symfony FOS\ElasticaBundle
elasticsearch

How to Search across multiple ElasticSearch Indexes with Symfony FOS\ElasticaBundle

ElasticSearch v6.0 deprecated multiple types in one index. You can read more here: Removal of mapping types [https://www.elastic.co/guide/en/elasticsearch/reference/6.0/removal-of-types.html] How to deal with this breaking change? Create MultiIndex.php file in your Symfony App project
Oct 16, 2019 — 3 min read
Exploit.cz © 2023
Powered by Ghost