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
Operating system version: Windows Server 2019 Standard 1809
Description of the problem including expected versus actual behavior:
Type inference for IndexAsync now calls ToString() on the type instead of using the value defined via DefaultMappingFor.
ElasticSearch returns an error:
Invalid index name [My.Own.Namespace.TypeName], must be lowercase
Steps to reproduce:
Create a class MyClass
While setting the connection up, specify that class: connection.DefaultMappingFor(typeof(MyClass), s => s.IndexName("myindexname")
Call IndexAsync
Expected behavior
A document should be indexed.
Provide ConnectionSettings (if relevant):
Provide DebugInformation (if relevant):
The text was updated successfully, but these errors were encountered:
Elastic.Clients.Elasticsearch version: 9.0.1
Elasticsearch version: 9.0.1
.NET runtime version: 9.0.4
Operating system version: Windows Server 2019 Standard 1809
Description of the problem including expected versus actual behavior:
Type inference for
IndexAsync
now callsToString()
on the type instead of using the value defined viaDefaultMappingFor
.ElasticSearch returns an error:
Steps to reproduce:
MyClass
connection.DefaultMappingFor(typeof(MyClass), s => s.IndexName("myindexname")
IndexAsync
Expected behavior
A document should be indexed.
Provide
ConnectionSettings
(if relevant):Provide
DebugInformation
(if relevant):The text was updated successfully, but these errors were encountered: