Issues with Titles in Typesense Metadata
TLDR Vladimir could not get meta tags to work for titles in Typesense. Jason provided troubleshooting help and Vladimir resolved the issue by creating a "display: none" div.
1
Oct 26, 2022 (14 months ago)
Vladimir
09:18 AM<meta name="version" class="version" content="1.5">
<meta name="title" class="title" content="Руководство программиста">
Unfortunately, it didn't have any effect. Can you give any advice on where Typesense is expecting to find group titles?
Jason
04:49 PMJason
04:50 PMOct 27, 2022 (14 months ago)
Vladimir
11:02 AMI moved the information required for the titles to the meta tag:
<meta name="context" content="5.5.1 Консоль управления Docsvision">
Then I edited the configuration file to match the edits:
"selectors": {
"lvl0": {
"global": true,
"selector": "meta[name=\"context\"]"
},
But I still can't see the titles. Is there something I did wrong?
Jason
01:01 PMJason
01:01 PMOct 28, 2022 (14 months ago)
Vladimir
07:09 AMThe actual content of the
lvl0
selector field is null
right now. Even though configuration file says "selector": "meta[name=\"context\"]"
. The rest of the selectors have valid value.Jason
03:21 PMJason
03:22 PMOct 31, 2022 (14 months ago)
Vladimir
06:13 AMJason
01:16 PMNov 04, 2022 (14 months ago)
Vladimir
08:06 AMdisplay: none
and it solved my issue. Thanks for reaching out to help.1
Jason
02:05 PMTypesense
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.
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.
Trouble with DocSearch Scraper and Pipenv Across Multiple OSs
James ran into errors when trying to build Typesense DocSearch Scraper from scratch, and believes it’s because of a bad Pipfile.lock. Jason attempted to replicate the error, and spent hours trying to isolate the issue but ultimately fixed the problem and copied his bash history for future reference. The conversation touches briefly on the subject of using a virtual machine for testing.
Troubleshooting Issues with DocSearch Hits and Scraper Configuration
Rubai encountered issues with search result priorities and ellipsis. Jason helped debug the issue and suggested using different versions of typesense-docsearch.js, updating initialization parameters, and running the scraper on a Linux-based environment. The issues related to hits structure and scraper configuration were resolved.
Issues with migrating search from Algolia to Typesense
Nacho encountered issues with migrating search from Algolia to Typesense, including a custom component that interfered with the search and an incorrect element being used as the title. Jason provided guidance on removing the component and adjusting search configuration.