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
It is not possible to create similarity with custom name, eg. "default". The names are hardcoded. For the same reason it is not possible to create two similarities of same type with different settings.
In NEST you can for example create BM25 similarity named "default":
Version 8.13.0 will be released on April 3rd. This version is the first one based on a completely revisited code generator. For the cost of some breaking changes, a lot of the previously unsupported features and endpoints will be available.
I just tested your case in the 8.13 code-base and I can confirm, that the following will be supported again:
It is not possible to create similarity with custom name, eg. "default". The names are hardcoded. For the same reason it is not possible to create two similarities of same type with different settings.
In NEST you can for example create BM25 similarity named "default":
In Elasticsearch-net client you cannot specify name:
The NEST version creates this:
![image](https://private-user-images.githubusercontent.com/102522083/317251909-f2cfc896-92b5-4c20-88fa-055ba9c22c65.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk4MjMzNDAsIm5iZiI6MTcxOTgyMzA0MCwicGF0aCI6Ii8xMDI1MjIwODMvMzE3MjUxOTA5LWYyY2ZjODk2LTkyYjUtNGMyMC04OGZhLTA1NWJhOWMyMmM2NS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzAxJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcwMVQwODM3MjBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1jYzFlYzg4MDcyYjExYTIwYTU1M2Y2MGZmMzhmYmQyZTU5N2QwYmRjOGQ1NzZmYzBlZDczNjNiNzFiYTM2ZWNjJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.Agqhqw2VPOBoVC595SFbyQ4PxWuD1O2YZGUNVHTNFnI)
The Elasticsearch-net creates this:
![image](https://private-user-images.githubusercontent.com/102522083/317252045-c321479d-e805-4fcf-8659-a4c47a3079b0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk4MjMzNDAsIm5iZiI6MTcxOTgyMzA0MCwicGF0aCI6Ii8xMDI1MjIwODMvMzE3MjUyMDQ1LWMzMjE0NzlkLWU4MDUtNGZjZi04NjU5LWE0YzQ3YTMwNzliMC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzAxJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcwMVQwODM3MjBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0xMTMwNDRkN2NiNTliMzM5NDFhNDJjNWVhMGFmOTkxNmE2NDZjNGIyYTBmYmRlNWMzM2MzMjNkYWQwMDVmZTRkJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.0sKzCza8D3BrqIoqwAnzMtXWpweMupIAi9QH-p6gGJw)
You cannot create "default" similarity.
You cannot create more similarites of same type with different name and settings.
The text was updated successfully, but these errors were encountered: