Typesense Search Results Overflow Issue in Docusaurus Project
TLDR Marco reported search results overflowing for some text and suspected it's related to lists. Jason suggested checking for uncommon unicode line breaks and adjusting scraper config, but issue remains unresolved.
Apr 27, 2023 (7 months ago)
I am using typesense in a docusaurus project. I have integrated the docusaurus theme to add a search bar to the navigation and it works mostly well.
Only problem I have is that for some text, the search results overflow over the tile allocated to a search result. I wasn't able to identify why that might be.
Any idea where to start looking for the root cause and a potential solution?
This is an example of the problem:
Apr 28, 2023 (7 months ago)
For the example above, the html of the search popup has this result:
lias a dom element to scrape independently in your docsearch scraper config?
Apr 29, 2023 (7 months ago)
May 02, 2023 (7 months ago)
"lvl1": "article h1, header h1",
"lvl2": "article h2",
"lvl3": "article h3",
"lvl4": "article h4",
"lvl5": "article h5, article td:first-child",
"lvl6": "article h6",
"text": "article p, article li, article td:last-child"
article li, which should match the list-element in question.
The full xPath of that list item is
Indexed 3015 threads (79% resolved)
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.
Solving Typesense Docsearch Scraper Issues
Sandeep was having issues with Typesense's docsearch scraper and getting fewer results than with Algolia's scraper. Jason helped by sharing the query they use and advised checking the running version of the scraper. The issue was resolved when Sandeep ran the non-base regular docker image.
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.
Duplicate Search Results Issue in Web Crawler Configuration
Lane is dealing with problems related to duplicate search results from their web crawler. Jason suggested that links in the sitemap might cause this issue, but this remains unresolved.