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
This commit refactors IScriptQuery to use IScript property
as opposed to individual script properties. Doing so removes
the custom formatter and better aligns with the JSON query DSL structure.
Fixes#3508
* Use IScript on ScriptQuery
This commit refactors IScriptQuery to use IScript property
as opposed to individual script properties. Doing so removes
the custom formatter and better aligns with the JSON query DSL structure.
Fixes#3508
* Use IScript in ScriptScoreFunction
This commit updates ScriptScoreFunction to use IScript
as opposed to IScriptQuery.
The current
ScriptQuery
implementation includes separate properties at the root level for properties of a script:elasticsearch-net/src/Nest/QueryDsl/Specialized/Script/ScriptQuery.cs
Lines 8 to 28 in 9f3e657
This results in the need to have a custom
JsonConverter
/serialization component in order to correctly nest these properties in JSON:These properties should be removed and replaced with an
IScript Script {get;set;}
propertyThe text was updated successfully, but these errors were encountered: