Enabling Infix Search for Docsearch on Typesense
TLDR Vladimir wanted to enable infix search in typesense docsearch. Jason suggested adding infix
as a parameter and enabling it in the collection schema by forking the typesense-docsearch scraper.
Jul 01, 2022 (18 months ago)
Vladimir
12:50 PMJason
03:03 PMinfix
as a parameter to typesenseSearchParams
, it also needs to be enabled in the collection schema when the scraper creates the collection.To do this, you'd have to fork the typesense-docsearch scraper and add
infix: true
to the fields you need here: https://github.com/typesense/typesense-docsearch-scraper/blob/a005d7a8bbd45bd71fd3895024f05663e9f797c6/scraper/src/typesense_helper.py#L36-L51And then run that version of the scraper on your docs site
Typesense
Indexed 3015 threads (79% resolved)
Similar Threads
Docsearch Scrapper Metadata Configuration and Filter Problem
Marcos faced issues with Docsearch scrapper not adding metadata attributes and filtering out documents without content. Jason helped fix the issue by updating the scraper and providing filtering instructions.
Typesense Integration Issue in Docusaurus
Benjamin experienced an error implementing Typesense (TS) in Docusaurus. Jason identified the correct placement of the 'typesense' key within the 'themeConfig' within the docusaurus config file, resolving the issue.
Configuring Docusaurus and Typesense for a Documentation Site
Apoorv had trouble adding search functionality to a Docusaurus documentation website with Typesense. Jason worked through several troubleshooting steps, identified issues with Apoorv's setup, and ultimately provided solutions that successfully implemented the search bar function.