https://catalogartifact.azureedge.net/publicartifacts/pcloudhosting.searchtypesense-0d3dcf91-c6ad-45cf-9371-fb315f619ad8/a94b4afe-4f43-46d6-9034-cf88b2d27061_bcloud.png

SearchTypesense

by pcloudhosting

Version 0.25.2+ Free Support on Ubuntu 24.04

Typesense is a fast, open-source search engine designed for modern applications, especially ecommerce. It provides instant, typo-tolerant search with a simple REST API, making it ideal for building scalable and developer-friendly “headless” search solutions.

Features of Typesense:

  • Blazing-fast full-text search built in C++.
  • Typo tolerance and instant search results.
  • Easy-to-use RESTful API for integration.
  • Multi-tenant API keys for secure access control.
  • Synonyms support for better search relevance.
  • Filtering, sorting, and faceting capabilities.
  • Real-time indexing and updates.
  • Lightweight and easy to deploy.

Usage Instruction for Typesense:

Typesense - Installation & API Commands

$ sudo su $ sudo apt update Configure Typesense (API Key access):
$ sudo nano /etc/typesense/typesense-server.ini Start and enable Typesense service:
$ sudo systemctl start typesense-server
$ sudo systemctl enable typesense-server Check service status:
$ sudo systemctl status typesense-server $ curl http://localhost:8108/health $ typesense-server --version Check available collections:
$ curl http://localhost:8108/collections \
-H "X-TYPESENSE-API-KEY: YOUR_API_KEY"
Import data using connector script:
$ python3 import_data.py products.csv Create Multi-tenant API Key:
$ curl -X POST http://localhost:8108/keys \
-H "X-TYPESENSE-API-KEY: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "description": "tenant1", "actions": ["documents:search"], "collections": ["products"] }'

Note:

  • Replace YOUR_API_KEY with your actual Typesense API key.
  • Ensure Typesense service is running before executing API commands.
  • Disclaimer: Typesense is an open-source project released under the MIT License. It is maintained by the community and provided "as is" without any warranty, express or implied. Users are responsible for proper configuration, security, and compliance while using Typesense.