amazon-cloudsearch

AWS CloudSearch: how to search a large subset?

岁酱吖の 提交于 2019-12-11 05:39:41
问题 I simply want to search a large subset of ids within our CloudSearch index. I have tried with a structured query (and also with a simple query plus a filterQuery), for example this narrows the search to three records only, those with item_key of 36933, 36940, or 36950. (or (term field=item_key 'item_36933') (term field=item_key 'item_36940') (term field=item_key 'item_36950')) This works, and it is obviously easy to expand that structured query to include many items. However, there seems to

CloudSearch - Return results when a field does not exist

时光毁灭记忆、已成空白 提交于 2019-12-11 02:18:53
问题 Is there a CloudSearch structured query to return results that do not have a value within a field? For example, I have a field called target_date that does not always have a value and I want to return all results with no target_date. This field is not zero'd out or set to a default; it doesn't exist at all for items without the date. There is another case too. I need to return all results after a target_date AND include any results without an existing date. The structured query I am using is

How can I retrieve all searchable (not deleted) documents in Amazon cloudsearch

不打扰是莪最后的温柔 提交于 2019-12-08 19:46:27
问题 I want to retrieve all my searchable document from cloudsearch I tried to do a negative search like that: search-[mySearchEndPoint].cloudsearch.amazonaws.com/2011-02-01/search?bq=(not keywords: '!!!testtest!!!') It work's but it also return all the deleted documents. So how can I get all active document only? 回答1: The key thing to know is that CloudSearch doesn't really delete. Instead, the "delete" function retains IDs in the index, but clears all fields in those deleted docs, including

How to implement multiselectable facet checkboxes with amazon cloudsearch?

不打扰是莪最后的温柔 提交于 2019-12-06 22:09:35
I am using amazon cloud search in my website.My website is an e learning portal where i have content of types videos,questions,courses etc.Each type of content having different levels like 1st grade,2nd grade,3rd grade etc of different curriculum like cbse,state board etc and of different educators like xyz,abc,pqr etc.I am filtering my content based on facet and also filtering facet based on facet selection.My filter is working like amazon cloudsearch console.In console we can not do multiple selection.My problem is that when i select one faceted checkbox then page loads and hides other

Amazon CloudSearch creates Null ID from DynamoDB

送分小仙女□ 提交于 2019-12-04 11:58:43
I'm trying to get started with Amazon CloudSearch. I have my data in a DynamoDB Table that I want to search. I was able to set up the cloud search domain and it pulled the fields from the table and let me set them, etc. However I went to upload the data and I'm having some issues. I told it the DynamoDB table to pull from and it did it's data pull and told me it found the items and I pressed the import but it's giving me errors about needing at least one field and needing to have a non-null id. I downloaded the list of documents that it is trying to upload and I see this (or similar) pretty

Amazon Cloudsearch : Filter if exists

こ雲淡風輕ζ 提交于 2019-12-01 03:50:17
I have an amazon cloudsearch domain. The aim is to filter if the field 'language' exists. Not all objects have a language, and I want to have the ones which do have a language filtered, but the ones that do not have any language to also be returned. I want to filter with ( or language:'en' language:null ) However null cannot be passed within a string. Is this possible? If so how would it be done. I looked elsewhere aswell, it seems : The simplest way to do that, is to set a default value for the field, and then use that value for your null. For example, set the default to the string "null",

How to perform Amazon Cloud Search with .net code?

杀马特。学长 韩版系。学妹 提交于 2019-11-30 23:29:09
I am learning Amazon Cloud Search but I couldn't find any code in either C# or Java (though I am creating in C# but if I can get code in Java then I can try converting in C#). This is just 1 code I found in C#: https://github.com/Sitefinity-SDK/amazon-cloud-search-sample/tree/master/SitefinityWebApp . This is 1 method i found in this code: public IResultSet Search(ISearchQuery query) { AmazonCloudSearchDomainConfig config = new AmazonCloudSearchDomainConfig(); config.ServiceURL = "http://search-index2-cdduimbipgk3rpnfgny6posyzy.eu-west-1.cloudsearch.amazonaws.com/";

How to perform Amazon Cloud Search with .net code?

旧城冷巷雨未停 提交于 2019-11-30 18:07:54
问题 I am learning Amazon Cloud Search but I couldn't find any code in either C# or Java (though I am creating in C# but if I can get code in Java then I can try converting in C#). This is just 1 code I found in C#: https://github.com/Sitefinity-SDK/amazon-cloud-search-sample/tree/master/SitefinityWebApp. This is 1 method i found in this code: public IResultSet Search(ISearchQuery query) { AmazonCloudSearchDomainConfig config = new AmazonCloudSearchDomainConfig(); config.ServiceURL = "http:/

Automatically offload dynamo table to cloud search domain

安稳与你 提交于 2019-11-30 15:24:37
I'm using Dynamo DB pretty heavily for a service I'm building. A new client request has come in that requires cloud search. I see that a cloud search domain can be created from a dynamo table via the AWS console. My question is this: Is there a way to automatically offload data from a dynamo table into a cloud search domain via the API or otherwise at a specified time interval? I'd prefer this to manually offloading dynamo documents to cloudsearch. All help greatly appreciated! Here are two ideas. The official AWS way of searching DynamoDB data with CloudSearch This approach is described