Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are there libraries to search Amazon CloudSearch from .NET?

What libraries are out there to perform searches in AWS' CloudSearch domains? The AWS SDK is virtually devoid of search capabilities.


I would like to use Amazon CloudSearch for a project to search in pre-existing databases for certain customer-related data for billing purposes.

We already have extensive experience with Solr-based search services, but in this particular instance we do not want to host the search service in-house and already have experience with AWS.

The Amazon SDK provides a decent .NET-based approach to administer search domains. But: Apparrently it lacks any capability whatsoever to actually search for things.

I have found a few attempts to provide a search API, but nothing that works OOTB. Any suggestions or experience with CloudSearch from within .NET?

(Yes, I know it is easy to just chug parameters in a web service call and deal with the JSON reply; a wrapper / library just would deal better with the messy details of parsing etc.)

like image 520
Cornelius Avatar asked Aug 21 '12 09:08

Cornelius


People also ask

What is the difference between CloudSearch and Elasticsearch?

CloudSearch. While both services use proven technologies, Elasticsearch is more popular, open source, and has a flexible API to use for customization; in comparison, CloudSearch is fully managed and benefits from managed service features such as (near) plug-and-play startup and auto-patching and updating.

Is CloudSearch based on SOLR?

Yes. The latest version of Amazon CloudSearch has been modified to use Apache Solr as the underlying text search engine.

What does Amazon Cloud Search enable you to do?

The Amazon CloudSearch console enables you to easily create, configure, and monitor your search domains, upload documents, and run test searches. Using the console is the easiest way to get started with Amazon CloudSearch and provides a central command center for ongoing management of your search domains.


2 Answers

I wrote a library in C# on github, you can use. https://github.com/martin-magakian/Amazing-Cloud-Search

It's "just" a wrapper, but part of the challenge was to match the JSON to the object you are working with (generic). Because Amazon cloud search is always working with array of string or array of uint but I still wanted my library to match the object properties whever it is an array or not.

It wasn't as easy as expected I share my work so more of us can play with Amazon Cloud Search.

Martin Magakian

like image 70
Martin Magakian Avatar answered Sep 19 '22 14:09

Martin Magakian


Supposedly the AWS .NET SDK includes support for CloudSearch now: http://aws.amazon.com/releasenotes/1600390926978863

like image 30
Sean Avatar answered Sep 23 '22 14:09

Sean