@datafire/amazonaws_cloudsearchdomain

5.0.0 • Public • Published

@datafire/amazonaws_cloudsearchdomain

Client library for Amazon CloudSearch Domain

Installation and Usage

npm install --save @datafire/amazonaws_cloudsearchdomain
let amazonaws_cloudsearchdomain = require('@datafire/amazonaws_cloudsearchdomain').create({
  accessKeyId: "",
  secretAccessKey: "",
  region: ""
});

amazonaws_cloudsearchdomain.UploadDocuments({
  "documents": ""
}).then(data => {
  console.log(data);
});

Description

You use the AmazonCloudSearch2013 API to upload documents to a search domain and search those documents.

The endpoints for submitting UploadDocuments, Search, and Suggest requests are domain-specific. To get the endpoints for your domain, use the Amazon CloudSearch configuration service DescribeDomains action. The domain endpoints are also displayed on the domain dashboard in the Amazon CloudSearch console. You submit suggest requests to the search endpoint.

For more information, see the Amazon CloudSearch Developer Guide.

Actions

UploadDocuments

amazonaws_cloudsearchdomain.UploadDocuments({
  "documents": ""
}, context)

Input

  • input object
    • documents required Blob

Output

Search

amazonaws_cloudsearchdomain.Search({}, context)

Input

  • input object

Output

Suggest

amazonaws_cloudsearchdomain.Suggest({}, context)

Input

  • input object

Output

Definitions

Adds

  • Adds integer

Blob

  • Blob string

Bucket

  • Bucket object: A container for facet information.

BucketInfo

  • BucketInfo object: A container for the calculated facet values and counts.

BucketList

  • BucketList array

ContentType

  • ContentType string (values: application/json, application/xml)

Cursor

  • Cursor string

Deletes

  • Deletes integer

DocumentServiceException

  • DocumentServiceException object: Information about any problems encountered while processing an upload request.

DocumentServiceWarning

  • DocumentServiceWarning object: A warning returned by the document service when an issue is discovered while processing an upload request.

DocumentServiceWarnings

Double

  • Double number

Expr

  • Expr string

Exprs

Facet

  • Facet string

Facets

FieldStats

FieldValue

  • FieldValue array

Fields

FilterQuery

  • FilterQuery string

Highlight

  • Highlight string

Highlights

Hit

HitList

  • HitList array

Hits

  • Hits object: The collection of documents that match the search request.

Long

  • Long integer

Partial

  • Partial boolean

Query

  • Query string

QueryOptions

  • QueryOptions string

QueryParser

  • QueryParser string (values: simple, structured, lucene, dismax)

Return

  • Return string

SearchException

  • SearchException object: Information about any problems encountered while processing a search request.

SearchRequest

  • SearchRequest object: Container for the parameters to the Search request.

SearchResponse

  • SearchResponse object: The result of a Search request. Contains the documents that match the specified search criteria and any requested fields, highlights, and facet information.

SearchStatus

  • SearchStatus object: Contains the resource id (rid) and the time it took to process the request (timems).

Size

  • Size integer

Sort

  • Sort string

Start

  • Start integer

Stat

  • Stat string

Stats

  • Stats array: The statistics calculated in the request.

String

  • String string

SuggestModel

  • SuggestModel object: Container for the suggestion information returned in a SuggestResponse.

SuggestRequest

  • SuggestRequest object: Container for the parameters to the Suggest request.

SuggestResponse

SuggestStatus

  • SuggestStatus object: Contains the resource id (rid) and the time it took to process the request (timems).

Suggester

  • Suggester string

SuggestionMatch

  • SuggestionMatch object: An autocomplete suggestion that matches the query string specified in a SuggestRequest.

Suggestions

SuggestionsSize

  • SuggestionsSize integer

UploadDocumentsRequest

  • UploadDocumentsRequest object: Container for the parameters to the UploadDocuments request.
    • documents required Blob

UploadDocumentsResponse

Readme

Keywords

none

Package Sidebar

Install

npm i @datafire/amazonaws_cloudsearchdomain

Weekly Downloads

0

Version

5.0.0

License

MIT

Unpacked Size

38.2 kB

Total Files

4

Last publish

Collaborators

  • datafire