Skip to content
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

ISSUE-153: Solr driven entity autocomplete can not use match operator #154

Merged
merged 2 commits into from
May 23, 2023

Conversation

DiegoPino
Copy link
Member

See #153
This removes it and allows the actual field/type of field searched for to deal with "contains". There is no "starts" with in Solr/Lucene but an exact match will happen if the field is a non-full-text string.

Also note for @alliomeria we have been doing this a bit wrong! The actual searched fields are part of the Options on the top, the filter we add is basically "useless". It always uses the configured "fields", the "filters" are used as additional to the the autocomplete match. I hate Drupal sometimes!

image

@DiegoPino DiegoPino self-assigned this May 23, 2023
@DiegoPino DiegoPino added this to the 1.1.0 milestone May 23, 2023
@DiegoPino DiegoPino added bug Something isn't working enhancement New feature or request UI/UX The thing people do when in front of a screen Search API Anything Solr Driven Drupal 9 After Drupal 8, Before Drupal 10 labels May 23, 2023
@DiegoPino DiegoPino requested a review from aksm May 23, 2023 18:23
@DiegoPino DiegoPino merged commit 477cf35 into 1.1.0 May 23, 2023
@DiegoPino DiegoPino deleted the ISSUE-153 branch May 23, 2023 21:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Drupal 9 After Drupal 8, Before Drupal 10 enhancement New feature or request Search API Anything Solr Driven UI/UX The thing people do when in front of a screen
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants