Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1016 Bytes

README.md

File metadata and controls

34 lines (25 loc) · 1016 Bytes

Setting up the app for the first time

  1. Duplicate contents of .env.template to a new .env file and replace the values accordingly.

  2. Run ./setup.sh

Running the app in development

  1. Run ./run.sh

Sample curl requests

Simple Wiki

curl --request POST \
            --url https://yourendpoint/indexes/yourindex/search \
            --header 'Content-Type: application/json' \
            --header 'X-API-Key: secretkey' \
            --data '{
                    "q": "Space hippo",
                "searchableAttributes": ["title", "content"],
                "limit": 30,
                "showHighlights": true,
                "filter": "*:*",
                "searchMethod": "TENSOR"
            }'