-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[Enhancement] Add Open Parameters to Flat_object Field Type #7137
Comments
Hi @lukas-vlcek, are you planning to take up this issue? |
@lukas-vlcek If you decide to work on this issue, would you like to assign yourself in this issue? |
@mingshl I can not assign myself (have no privs to do that). Can you please assign me? |
of course. done |
Can we please get (and maybe prioritize :) ) the addition of the "ignore_malformed" option for flat_object? Reference: When set to true , and a document is received that is not valid json, the document will not be rejected, rather the field would ignored. This would help in situation like that referenced in the following issue, where we cannot 100% control if a valid json object is being provided. |
@lukas-vlcek If you haven't started doing it yet, I'd love to try it. |
@kkewwei Feel free to jump on it. |
@kkewwei -- Thanks a lot for picking this one up! Once your fix is in (or maybe there's some overlap?) you might want to take a look at #11635. For that one, I think we can clean up some (most?) of the query logic from |
@msfroh get it, it's a good idea, It can simply the code, I will try to implement it with you suggestion. |
Is your feature request related to a problem? Please describe.
Flat objects currently do not support open parameters. Looking forward to add open parameter to increase better search results.
Describe the solution you'd like
The following open parameters setting are useful to consider to add in, including normalizer, docValues, ignoreAbove, nullValue, similarity, and depthlimit.
normalizer: allow lowercase, uppercase
docValues: allow to set docValues to be false
ignoreAbove: allow to set if the length of a field is go above certain limit then ignore the document.
nullValue: allow to set nullValue to others
similarity: allow to set similarity setting
depthlimit: allow to set maximum depth limitation to the JSON document
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: