Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Would a F# version of the example be desired? #26

Open
jeremysmith1 opened this issue Jan 14, 2018 · 5 comments
Open

Would a F# version of the example be desired? #26

jeremysmith1 opened this issue Jan 14, 2018 · 5 comments

Comments

@jeremysmith1
Copy link

I would like to make the examples in a F# version. Does this exist already? Would this be desired? I could see it adding confusion as to what language to use.

@russcam
Copy link
Contributor

russcam commented Feb 9, 2018

An F# branch would be very cool! You'd likely need to build an F# API layer over some of NEST's constructs to make it more idiomatically F# to work with

@jeremysmith1
Copy link
Author

Agreed. I am working on bulkall requests. Adding an api layer is a good idea.

Maybe writing that layer would be a good first step.

@haf-afa
Copy link

haf-afa commented Nov 6, 2019

Yes please. Also, v7? Seems like CreateIndex is gone from the client.

@Mpdreamz
Copy link
Member

We've namespaced methods since Elasticsearch nowadays has 270+ API's.

client.Indices.Create() is the new client.CreateIndex()

https://www.nuget.org/packages/NEST.7xUpgradeAssistant/

Can be use to temporarily reintroduce the old methods with obsolete warnings indicating how to rewrite them.

@russcam
Copy link
Contributor

russcam commented Nov 25, 2019

There are now 7.x and 7.x-codecomplete branches that have updated the example to 7.x, using ASP.NET Core 3.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants