Hello, I am new to TypeSense. I <installed> types...
# community-help
r
Hello, I am new to TypeSense. I installed typesense in my mac and able to search books catalogue from localhost UI portal. Then I scrapped the website using docSearch using docker image. Looks like scrapping is also successful. However I am not able to find following 1. Where is the scrapped documents stored? I looked at
data-dir = /opt/homebrew/var/lib/typesense
but I dont see data over there. 2. How can I point my scrapped data to above UI portal so that I can query my scrapped data? 3. I scrapped with index name as support.
curl <https://localhost:8108/collections/support/documents/search?q=gift>
is failing with
no matches found
j
The scraped documents are stored in a Typesense collection. So if you do a
GET /collections
you’ll see the collection name, and then you can use the search endpoint to query this collection
If you’re using docsearch, you want to use the docsearch UI for it: https://typesense.org/docs/guide/docsearch.html#step-2-add-a-search-bar-to-your-documentation-site
r
Thank you Jason. I am able to see all available collections by running below command.
curl -X GET '<http://localhost:8108/collections>' -H 'Content-Type: application/json' -H 'X-TYPESENSE-API-KEY: xyz'
👍 1