Skip to content

Commit aa181f8

Browse files
committed
Add xml docs for Raw method on FilterDescriptor
1 parent 2b9f56f commit aa181f8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Nest/DSL/Filter/FilterDescriptor.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,12 @@ public FilterContainer Conditionless(Action<ConditionlessFilterDescriptor<T>> se
5757
return (filter.FilterDescriptor == null || filter.FilterDescriptor.IsConditionless) ? filter._Fallback : filter.FilterDescriptor;
5858
}
5959

60+
/// <summary>
61+
/// Insert raw filter json at this position of the filter
62+
/// <para>Be sure to start your json with '{'</para>
63+
/// </summary>
64+
/// <param name="rawJson"></param>
65+
/// <returns></returns>
6066
public FilterContainer Raw(string rawJson)
6167
{
6268
var f = new FilterDescriptor<T>();

0 commit comments

Comments
 (0)