JP Hellemons
JP Hellemons

Reputation: 6047

OpenSearch .net (C#) library: which one?

i would like to add OpenSearch to my C# webapplication. does someone recommend a certain .net library? or does a custom webapplication require a tailormade opensearch implementation?

Upvotes: 2

Views: 2801

Answers (3)

kittur_riyaz
kittur_riyaz

Reputation: 162

I suggest OpenSearch.Net (an open source fork of elasticsearch-net). Have a look into the git repo for getting started

https://github.com/opensearch-project/opensearch-net

Upvotes: 0

Jannie Theunissen
Jannie Theunissen

Reputation: 30144

If you want while-you-type suggestions, you need to have a search method on the server that searches and returns the results in JSON (not XML) format. If you don't need suggestions, you just need a method that responds to the search in a normal way by pushing HTML to the browser.

Have a look at Mozilla's official documentation for creating an opensearch plugin for your site and supporting search suggestions

Upvotes: 0

Related Questions