Salt la conținutul principal
Nu ratați noutățile următoare de la Microsoft Ignite
Nu ratați noutățile următoare de la Microsoft IgniteObțineți acces direct la persoanele, produsele și expertiza din spatele tehnologiei Microsoft, cu oportunități de a pune întrebări, de a vă dezvolta competențele și de a învăța alături de comunitate.
Microsoft
separator
https://catalogartifact.azureedge.net/publicartifacts/pcloudhosting.searchtypesense-5a24d359-abf7-4942-9af2-390b67ff248c/image1_plarge.png

SearchTypesense

de pcloudhosting

Versiune de încercare gratuită
(1 evaluări)

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.

    Română (Republica Moldova)
    Pictograma Renunțare la opțiunile de confidențialitate Opțiunile dumneavoastră de confidențialitate
    Confidențialitatea pentru sănătatea consumatorilor Hartă de site Contactați-ne Confidențialitate și module cookie Condiții de utilizare Despre reclame Gestionați modulele cookie