在Symfony的4.3應用程序與Elastcsearc 6.8加 friendsofsymfony/elastica-bundle v5.1.0 一個索引創建任務,需要18分鐘才能完成使用或不enqueue/enqueue-bundle 0.9.12和enqueue/fs 0.9.12。是否有我丟失的包(盡管排隊說這是一個完整的解決方案)或配置錯誤?fos_elastica.yaml:fos_elastica: serializer: ~ clients: default: { host: localhost, port: 9200 } indexes: house_date: types: house_date: serializer: groups: [house_date] persistence: # the driver can be orm, mongodb or phpcr driver: orm model: App\Entity\Contact provider: ~ finder: ~入隊.yaml:enqueue: default: transport: '%env(resolve:ENQUEUE_DSN)%' client: ~enqueue_elastica: transport: '%enqueue.default_transport%'編輯:經過多次探索,我一直在前進,但沒有最終成功。已添加enqueue/elastica-bundle并enqueue.yaml已編輯為如上所示。[Windows 中的相同安裝在大約 54% 完成時達到 256M 內存限制,同樣無論是否存在入隊組件。]
Enqueue 在 Symfony/Elasticsearch 索引創建中沒有區別
慕的地6264312
2021-11-05 10:16:46
