craigtrim / opensearch-helper

OpenSearch Helper for Easy I/O
2 stars 0 forks source link

Create Basic Search Code #2

Open craigtrim opened 2 years ago

craigtrim commented 2 years ago

This issue is successful when a consumer can add this project as a dependency and

  1. by providing the credentials (username, password, host, region) via named environment variables
  2. by providing a query and an index to an API
  3. can get back a simple result with 'hits'
craigtrim commented 2 years ago

Future issues can handle automatically constructing queries and/or automatically formatting results.

For the purpose of this issue we assume:

  1. the consumer provides the full query
  2. the consumer is delivered the full result set