-
-
Notifications
You must be signed in to change notification settings - Fork 249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] Add an event to modify suggest query #3902
Comments
dmitryd
added a commit
to dmitryd/ext-solr
that referenced
this issue
Dec 4, 2023
…vent for suggest queries
Wait with it. Found a bug in the code. |
dmitryd
added a commit
to dmitryd/ext-solr
that referenced
this issue
Dec 4, 2023
dmitryd
added a commit
to dmitryd/ext-solr
that referenced
this issue
Dec 4, 2023
Now it works as expected. There is a new event though... |
dmitryd
added a commit
to dmitryd/ext-solr
that referenced
this issue
Dec 4, 2023
dmitryd
changed the title
[BUG] Suggest query cannot be modified
[FEATURE] Add an event to modify suggest query
Dec 4, 2023
dkd-kaehm
pushed a commit
that referenced
this issue
Dec 4, 2023
This change adds a `AfterSearchQueryHasBeenPreparedEvent` for the suggest event. Resolves: #3902
dkd-kaehm
added a commit
to dkd-kaehm/ext-solr
that referenced
this issue
Dec 5, 2023
…ueryHasBeenPreparedEvent Relates: TYPO3-Solr#3902, TYPO3-Solr#3903
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the issue
Code in the
Classes/Domain/Search/Suggest/SuggestService.php
does not useApacheSolrForTypo3\Solr\Event\Search\AfterSearchQueryHasBeenPreparedEvent
. So the suggest query could either provide suggestions that will not be found by the actual query or can provide incomplete suggestions.To Reproduce
We use solr sharding feature for a client to search multiple cores. Suggest does not provide results for them because our event handler is not called.
Expected behavior
The event is called for all search queries.
Used versions (please complete the following information):
The text was updated successfully, but these errors were encountered: