You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] Support Multi-fields in WHERE Conditions #1074
What is the expected behavior?
For multi-field (a text field with another keyword field inside), there should be no assumption that the keyword field name is always "keyword".
Query with above format should return expected result.
What is your host/environment?
OS: [e.g. iOS]
Version [e.g. 22]
Plugins
Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
Add any other context about the problem.
Related, but not a duplicate. #1038 is specific to text fields and requires that text fields get treated properly by JDBC engine. Any field can be defined with multi-fields. This would also benefit text fields. JDBC, for example, might treat the field myText as a field of SQL-type text (according to #1038), but also treat the multi-field myText.keyword as a field of SQL-type varchar (from this issue).
@rupal-bq this is a FEATURE, not a BUG. There only very limited existing support for multi-fields in the existing engines (using the like function kind of does this... but very poorly).
Activity
Yury-Fridlyand commentedon Nov 14, 2022
Related or duplicated by #1038
acarbonetto commentedon Apr 3, 2023
Related, but not a duplicate. #1038 is specific to text fields and requires that text fields get treated properly by JDBC engine. Any field can be defined with multi-fields. This would also benefit text fields. JDBC, for example, might treat the field
myTextas a field of SQL-typetext(according to #1038), but also treat the multi-fieldmyText.keywordas a field of SQL-typevarchar(from this issue).@rupal-bq this is a FEATURE, not a BUG. There only very limited existing support for multi-fields in the existing engines (using the
likefunction kind of does this... but very poorly).