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

Remove peliasQueryFullToken analyzer #407

Merged
merged 3 commits into from
Dec 12, 2019

Conversation

Joxit
Copy link
Member

@Joxit Joxit commented Dec 5, 2019

Since we merged our beloved pelias parser, this analyser is no more used 👋.

@Joxit Joxit force-pushed the joxit/remove-peliasQueryFullToken branch from 8b79964 to cba6b62 Compare December 5, 2019 16:54
Copy link
Member

@missinglink missinglink left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes!

Next year I would like to move towards specifying all the search and index analyzers in the schema for each field.

In the past we have been specifying them at query time but thats problematic when we forget or if we specify the wrong one.

@missinglink
Copy link
Member

Can we also remove peliasQueryPartialToken and partial_token_address_suffix_expansion along with any synonyms?

@missinglink
Copy link
Member

More info on this PR: #370

@Joxit
Copy link
Member Author

Joxit commented Dec 12, 2019

Oh yes, I forgot these two 😄 updated and I have not forgotten the integration tests 😅

Copy link
Member

@missinglink missinglink left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes!

@missinglink
Copy link
Member

missinglink commented Dec 12, 2019

Ok so since pelias/api#1330 was merged 5 months ago, I think that's enough of a deprecation window, these analyzers are now redundant and removing them cleans up the schema a bunch.

@missinglink missinglink merged commit ea2cacf into master Dec 12, 2019
@Joxit Joxit deleted the joxit/remove-peliasQueryFullToken branch December 12, 2019 16:12
@orangejulius
Copy link
Member

Wow -900 lines! 👏

@missinglink
Copy link
Member

Yeah and 140 from the schema file itself!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants