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

EZP-29984: Add support for Field LIKE criterion with "*" wildcards #128

Merged
merged 4 commits into from
Feb 1, 2019

Conversation

andrerom
Copy link
Contributor

@andrerom andrerom commented Jan 4, 2019

https://jira.ez.no/browse/EZP-29984

Adapt Solr Search Engine to correct support for LIKE with wildcards using "*".

Todo:

@ezrobot

This comment has been minimized.

@andrerom andrerom changed the title EZP-29984: Field LIKE & CONTAINS criterion not behaving like SQL Search Engine EZP-29984: Field LIKE criterion not behaving like SQL Search Engine Jan 4, 2019
@andrerom
Copy link
Contributor Author

andrerom commented Jan 4, 2019

@wizhippo As you did the initial impl, your ok with a change like this on your side?

@wizhippo
Copy link
Contributor

wizhippo commented Jan 4, 2019

@andrerom I'm good with it like this. Are we making legacy behave the same (using '%' on the start and end by default)? If not then making this behave the same for consistency may be wanted.

@andrerom
Copy link
Contributor Author

andrerom commented Jan 4, 2019

@wizhippo It's on the todo on this. Before this can be merged, there should be PR on kernel adding integration tests and possibly adapt logic in legacySE.

@andrerom andrerom changed the title EZP-29984: Field LIKE criterion not behaving like SQL Search Engine EZP-29984: Add support for Field LIKE criterion with "*" wildcards Jan 9, 2019
@andrerom
Copy link
Contributor Author

@wizhippo Kernel PR done and this PR adapted for it (using * now instead to align with FullText).

@andrerom andrerom requested review from alongosz and ViniTou January 16, 2019 20:53
@andrerom andrerom requested a review from adamwojs January 28, 2019 08:29
…ch Engine

Adapt SolrSE to correct support for LIKE and CONTAINS.

Todo:
- Open PR with API and integration test coverage for this.
- CS / Adapt unit tests
@andrerom andrerom merged commit 37ea356 into 1.5 Feb 1, 2019
@andrerom andrerom deleted the EZP-29984 branch February 1, 2019 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

5 participants