Open onthebreeze opened 3 years ago
@onthebreeze It is not included in search results because vocabulary pages not indexed by google, it is because we don't have any links which will go on vocabulary pages. I see 2 ways how we could organize the search for vocabulary:
We can also have both options. Let me know if you want to use custom search for vocabulary?
Bit lunr.js is client side only right? So search will only show results from the currently loaded vocabulary
I think we need to be able to search the whole vocabulary.
Yes, it is client side, but it will be able to search the whole vocabulary. So it will show search results on the separate page with links on related page. Something like this - https://prnt.sc/v1e3uc
Ok sounds good - let's try it then
@webilhan, we have to keep the anchors the same as the ids, we can't slugify them.
@onthebreeze, the search is working on edi3.org now, but I limited it to search only among UNECE vocabulary. As we generate a single page for search results, my suggestion would be to support a separate search among different vocabury types, like
The search widget doesnt index the vocabulary?