Reputation: 6047
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
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
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
Reputation: 2154
That might help: http://blog.unto.net/opensearch/add-opensearch-to-your-site-in-five-minutes/
Upvotes: 2