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
will return true if the index was created. So it is the other way around.
This is especially misleading, as the variable in the code is called "exist", which is true if it was created and false if it already existed.
I did not check the other, similar methods.
Also: The return order is mixed up. Introducing some consistency here, would make it easier to use the library without the need of digging into the implementation each time something unexpected happens.
The text was updated successfully, but these errors were encountered:
Hi,
I stumbled across some inconsistencies for the various Ensure*(...) methods.
E.g.
will return true if the analyzer already existed.
will return true if the index was created. So it is the other way around.
This is especially misleading, as the variable in the code is called "exist", which is true if it was created and false if it already existed.
I did not check the other, similar methods.
Also: The return order is mixed up. Introducing some consistency here, would make it easier to use the library without the need of digging into the implementation each time something unexpected happens.
The text was updated successfully, but these errors were encountered: