-
Notifications
You must be signed in to change notification settings - Fork 24.8k
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
serialize suggestion responses as named writeables #30284
Merged
andyb-elastic
merged 21 commits into
elastic:master
from
andyb-elastic:feature-plugin-suggester-named-writeable-attempt-3
Aug 7, 2018
Merged
Changes from 2 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
64369c8
serialize suggestion responses as named writeables
andyb-elastic 990d546
checkstyle fixes
andyb-elastic 09b3ccc
Merge branch 'master' into feature-plugin-suggester-named-writeable-a…
andyb-elastic 4f695a7
wip suggest update tests with new option usage
andyb-elastic 155df07
wip suggest only one suggestion reader
andyb-elastic 3add813
rest tests for custom suggester example plugin
andyb-elastic f062443
checkstyle fixes
andyb-elastic 5b8fa25
fill in toXContent support for custom fields - change Entry and Option
andyb-elastic 4e5ff17
remove custom suggester IT from server
andyb-elastic 80ce511
Merge branch 'master' into feature-plugin-suggester-named-writeable-a…
andyb-elastic 69163ba
use an empty test suggester impl in SearchModuleTests
andyb-elastic bcd3704
backwards compatiblity corrections
andyb-elastic 87bddd1
make release note more clear
andyb-elastic a7c3f01
Merge branch 'master' into feature-plugin-suggester-named-writeable-a…
andyb-elastic 2923532
use innerReadFrom innerWriteTo for old nodes
andyb-elastic 0059b61
serialization shim for TermSuggestion
andyb-elastic a2b7bef
wip round triup works but only because it's not equalsing
andyb-elastic df532f1
serialization tests pass
andyb-elastic ee7efb4
remove commented out methods
andyb-elastic b77ed84
Merge branch 'master' into feature-plugin-suggester-named-writeable-a…
andyb-elastic 4603a0d
Merge branch 'master' into feature-plugin-suggester-named-writeable-a…
andyb-elastic File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it needed to allow multiple readers ? Only one custom suggestion implementation should be needed here ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My thinking here was that it wouldn't be unreasonable for a suggester to return multiple types of suggestions in different situations. For example it looks like some aggregations do this if I'm not mistaken. But it makes sense and is simpler if they only use one, so I'll do that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1