# Create curation set curl "${TYPESENSE_BASE_URL}/curation_sets/test_index" -X PUT \ -H "Content-Type: application/json" \ -H "X-TYPESENSE-API-KEY: ${TYPESENSE_API_KEY}" -d '{ "items": [] }' # Add item with synonyms and stemming curl "${TYPESENSE_BASE_URL}/curation_sets/test_index/items/synonyms-stem" -X PUT \ -H "Content-Type: application/json" \ -H "X-TYPESENSE-API-KEY: ${TYPESENSE_API_KEY}" -d '{ "rule": { "match": "contains", "query": "dress", "synonyms": true, "stem": true }, "remove_matched_tokens": false, "sort_by": "unitssold:desc" }' # Fetch item - synonyms and stem flags are not set curl "${TYPESENSE_BASE_URL}/curation_sets/test_index/items/synonyms-stem" -X GET \ -H "X-TYPESENSE-API-KEY: ${TYPESENSE_API_KEY}"