Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Update FullText.php #1166
I use the same configuration of the demobundle to my Search Module :
When i use my search page, some terms have no results. I don't understand why, in the backend for the same term i have a lot of results.
After research I found that the problem is related to this value searchThresholdValue.
I don't find an other solution that change the value in vendors.
This PR is in link with : http://share.ez.no/forums/ez-publish-5-platform/problem-with-searchhelper-of-demobundle
@andrerom It is configurable, one can provide settings through configuration that will override default ones in the criterion handler. It would be ideal if it was possible to configure per siteaccess, but we will eventually need to handle different FullText configuration for Legacy, Solr and Elasticsearch search engines, so there would also need to be some kind of resolution on the search engine context. Not sure what you mean by parent service, it is used only in the FullText handler.
@djoo For now you will need to override the FullText criterion handler service and provide the settings that you want to override as a third parameter. See the container configuration for this service: https://github.com/ezsystems/ezpublish-kernel/blob/master/eZ/Publish/Core/settings/storage_engines/legacy/search_query_handlers.yml#L175.