{"id":913,"date":"2015-04-03T17:04:40","date_gmt":"2015-04-03T21:04:40","guid":{"rendered":"http:\/\/shirishranjit.com\/blog1\/?page_id=913"},"modified":"2015-04-05T14:25:00","modified_gmt":"2015-04-05T18:25:00","slug":"aws-cloud-search-in-five-minutes","status":"publish","type":"page","link":"https:\/\/shirishranjit.com\/blog1\/big-data\/all-about-aws\/aws-cloud-search-in-five-minutes","title":{"rendered":"AWS Cloud Search in Five Minutes"},"content":{"rendered":"<h2>AWS CloudSearch Service in 5 minutes<\/h2>\n<p>AWS CloudSearch is a self service, click of a button search engine service in AWS cloud. The CloudSearch is based on Apache SOLR search engine. The CloudSearch provides a way to configure and deploy an Apache SOLR without you have to do it manually. The CloudSearch has a easy to use configuration that allows you to setup index fields manually or with sample data. When you provide a sample data, the index setup process automatically recognizes data types. Then, you can review the setup and you can add, change or delete index fields. These are basic SOLR shcema configurations; however, the CloudSearch configuration does cannot allow more complicated configurations that you can do in SOLR schema. <\/p>\n<p>Through SOLR schema allows to tune your index fields, I am in favor of schema-less search engine for many reasons.<\/p>\n<ol>\n<li>Log into the AWS dashboard.<\/li>\n<li>Click \u201cCloudSearch\u201d &#8211; this will bring the CloudSearch dashboard<\/li>\n<li>Click \u201cCreate New Domain\u201d\n<ol>\n<li>Choose \u201cAnalyze Sample file from my local machine (Make sure the starting column has data. If you have empty column, the analyzer return with error and it the error does not indicate what is wrong with your file.)<\/li>\n<li>Setup up access policy<\/li>\n<li>Review and confirm your search engine setup<\/li>\n<li>The confirm triggers setup and deployment of SOLR. It will take few minutes to deploy the SOLR Search Engine.<\/li>\n<\/ol>\n<\/li>\n<li> Upload Documents through the Dashboard once the CloudSearch is deployed and available.  Click on the search server.\n<ol>\n<ol>\n<li>Click on Upload Document<\/li>\n<li>Click on select document<\/li>\n<li>Click continue and review and finish<\/li>\n<\/ol>\n<\/ol>\n<p>\nNow the document is indexed in the server.<\/li>\n<li>Query the indexed data &#8211; The default query parser is \u2018Simple.\u2019 The CloudSearch provides Lucene, Structured, and DisMas query parsers.\n<ol>\n<li>Click on \u201cRun a Test Search\u201d<\/li>\n<li>Type text that is in the document for the search. It will produce the search result.<\/li>\n<li>The results are presented in the browser.<\/li>\n<\/ol>\n<\/li>\n<li>\u201cAvailability Options\u201d doubles the search instance by replicating the SOLR instance. The replica is deployed in different availability zone such that the Search is Highly Available.<br \/>\n<br \/>\nThis option does is not same as SOLR Cloud. SOLR Cloud is a robust way of deploying SOLR search engine for HA and Failover. SOLR Cloud makes SHARDING easy and simple task.<\/li>\n<li>\u201cScaling Options\u201d provides a way to define number of replicas.<\/li>\n<li>\u201cAnalysis Schemes\u201d is the way to configure your SOLR \u201cAnalysis Schemes.\u201d This option allows to add Stop words, Stemming, and Synonyms schemes.<\/li>\n<li>\u201cExpressions\u201d is way to allow index to pre-evaluate your search results for sorting. \u201cExpressions are numeric expressions that are based on the data in your index and evaluated at search time. You can specify expressions in your search requests to sort search results or filter search results.\u201d<\/li>\n<li>\u201cSuggesters\u201d &#8211; \u201cSuggestions are based on the contents of a particular text field. When you request suggestions for a search string, the string is used as a prefix. Amazon CloudSearch searches the text field for the prefix and returns a list of matching documents. Click Add Suggester to define a new suggester. Click Edit to update an existing suggester.\u201d<\/li>\n<li>\u201cMonitoring\u201d provides a view into search service usage.<\/li>\n<li>\u201cAccess Policies\u201d allows you to configure authorization and authentication policies.<\/li>\n<\/ol>\n<div class=\"twttr_buttons\"><div class=\"twttr_twitter\">\n\t\t\t\t\t<a href=\"http:\/\/twitter.com\/share?text=AWS+Cloud+Search+in+Five+Minutes\" class=\"twitter-share-button\" data-via=\"\" data-hashtags=\"\"  data-size=\"default\" data-url=\"https:\/\/shirishranjit.com\/blog1\/big-data\/all-about-aws\/aws-cloud-search-in-five-minutes\"  data-related=\"\" target=\"_blank\">Tweet<\/a>\n\t\t\t\t<\/div><div class=\"twttr_followme\">\n\t\t\t\t\t\t<a href=\"https:\/\/twitter.com\/shiranjit\" class=\"twitter-follow-button\" data-size=\"default\"  data-show-screen-name=\"false\"  target=\"_blank\">Follow me<\/a>\n\t\t\t\t\t<\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>AWS CloudSearch Service in 5 minutes AWS CloudSearch is a self service, click of a button search engine service in AWS cloud. The CloudSearch is based on Apache SOLR search engine. The CloudSearch provides a way to configure and deploy &hellip; <a href=\"https:\/\/shirishranjit.com\/blog1\/big-data\/all-about-aws\/aws-cloud-search-in-five-minutes\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":762,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["post-913","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/shirishranjit.com\/blog1\/wp-json\/wp\/v2\/pages\/913","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/shirishranjit.com\/blog1\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/shirishranjit.com\/blog1\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/shirishranjit.com\/blog1\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/shirishranjit.com\/blog1\/wp-json\/wp\/v2\/comments?post=913"}],"version-history":[{"count":8,"href":"https:\/\/shirishranjit.com\/blog1\/wp-json\/wp\/v2\/pages\/913\/revisions"}],"predecessor-version":[{"id":921,"href":"https:\/\/shirishranjit.com\/blog1\/wp-json\/wp\/v2\/pages\/913\/revisions\/921"}],"up":[{"embeddable":true,"href":"https:\/\/shirishranjit.com\/blog1\/wp-json\/wp\/v2\/pages\/762"}],"wp:attachment":[{"href":"https:\/\/shirishranjit.com\/blog1\/wp-json\/wp\/v2\/media?parent=913"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}