Exploit.cz

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:

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

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 <?php declare(strict_

Exploit.cz © 2026