Back to index selection
dispensary-dev

Dispensary Index Viewer

This page renders the first returned documents from a server-side OpenSearch query against the dispensary-dev index. Leave the search empty for match_all results, provide text to run a multi_match bool_prefix search, or submit Illinois coordinates to return the three nearest dispensaries.

This page runs its OpenSearch query during server rendering. Credentials remain in server environment variables and are never exposed through the client bundle.

Query controls

Run a server-side search against dispensary-dev

Leave the field blank to keep the default match_all request. When text is provided, the server sends a multi_match bool_prefix query across all fields. You can also submit latitude and longitude to return the top three nearest Illinois results.

Current request

Using the default server-side match_all query.

Keyword search

Search returned documents

Run the same text query flow that powers the current multi_match bool_prefix request.

Location search

Return the three nearest Illinois results

Submit `lat` and `long` values to filter to Illinois and sort by ascending geo distance.

Query error

The server could not fetch data from OpenSearch.

The requested OpenSearch index was not found.

Using the default server-side match_all query.