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
Thanks for this @ashkandaie we introduced a non generic Reindex() method on the client itself to cover this use case. The special behaviour of <object> was treated as a bug.
After upgrading to v1.7.1 reindex functionality is broken. When reindexing the type System.Object the system no longer reindexes all types. It actually tries to reindex type "object" as seen in this url http://localhost:9200/myindex/object/_search?search_type=scan&scroll=2m&pretty=true.
Looking at the version history for ReindexObservable.cs
In 1.6.x and < it did the following:
SHA: d1f0f42
This check is no longer being done.
In 1.7.1 and dev branch it simply reads the allTypes internal property from ReindexDescriptor and calls AllTypes on searchDescriptor if true.
In fact, the internal type allTypes in ReindexDescriptor is never set and cannot be set by the client SDK.
Wouldn't it be cleaner if NEST supported a non-generic ReindexDescriptor to index all types?
Should AllTypes be exposed on the fluent API?
Think that at a minimum ReindexDesciptor should reindex all types for backward compatibility with 1.6.x and <.
Happy to submit a PR once confirmed a bug.
The text was updated successfully, but these errors were encountered: