FOSElasticaBundle
FOSElasticaBundle copied to clipboard
Elasticsearch PHP integration for your Symfony project using Elastica.
If you're using a library to construct your query (like [`rollerworks/search-elasticsearch`](https://github.com/rollerworks/search-elasticsearch)), it will construct the query for you. This means [you might not have access](https://github.com/rollerworks/search/blob/e5c44d499788f17142378a96240efd59654fc118/lib/ApiPlatform/Elasticsearch/Extension/SearchExtension.php#L121) to the final query directly....
I have a item entity, stock entity and color entity Item has oneToMany stocks and stock have ManytoOne association with color now I am mapping item entity and stocks with...
Hello, Actually in the index persistence configuration we can passe a FQCN of the Repository. Is there a way to passe also a _service_ name ? ``` persistence: driver: orm...
When running populate command I get error: ERROR [console] Error thrown while running command "fos:elastica:populate". Message: "java.lang.IllegalArgumentException: only one Content-Type header should be provided" ["exception" => Elastica\Exception\ResponseException { …},"command" =>...
I get attacks on my (paginated) search form, such as `myurl.com/search?direction=asc&page=199999%22%20union%20select%20unhex%28hex%28version%28%29%29%29%20--%20%22x%22%3D%22x` (instead of just `myurl.com/search?direction=asc&page=1`), which lead to `Uncaught PHP Exception Elastica\Exception\ResponseException: "Result window is too large, from + size...
Hi dear programmers, There are a few issues using Synonyms from the default SynonymFilter implementation. To understand more, read: https://www.elastic.co/blog/multitoken-synonyms-and-graph-queries-in-elasticsearch My question is: how do we use SynonymGraphFilter (modern way)...
Starting from version 6.1 of elasticsearch, the sorted nested keys have changed. It means: "nested_path" has been replaced by "nested" and "path" like in example. Version 6.1: ``` "sort" :...
Hello. I found a different persist order behaviour in direct (defer: false) and asynchronous (defer: true) modes. If you look at the persistScheduled() method in src/Doctrine/Listener.php class, you will see,...
I'm trying to create a Word Cloud, and I'm not sure how to make the call using TermVectors or MTermVectors. Can someone provide an example? I'm happy to update the...