Skip to content

Commit d5d85e0

Browse files
committed
fixed path resolver for delete by query
1 parent b07fe8d commit d5d85e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Nest/Resolvers/PathResolver.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ public string GetPathForTyped<T>(QueryPathDescriptor<T> descriptor, string suffi
343343
else if (descriptor._Indices != null || descriptor._AllIndices) //if set to empty array asume all
344344
indices = "_all";
345345
else
346-
indices = this.Infer.TypeName<T>();
346+
indices = this.Infer.IndexName<T>();
347347

348348
var types = this.Infer.TypeName<T>();
349349
if (descriptor._Types.HasAny())

0 commit comments

Comments
 (0)