You are looking at documentation for an older release.
Not what you want? See the
current release documentation.
Preferenceedit
Signals on what node to execute the search
You can call the following methods on SearchDescriptor
.Preference("my_custom_preference") .ExecuteOnPrimary() .ExecuteOnLocalShard .ExecuteOnNode("mynodename")