openKB
openKB copied to clipboard
Search tokenization is done on markdown instead of plain text
If inside your article, in markdown, if you have say:
This is an example.
This line contains a **bold** word.
The search lib is indexing **bold**
instead of bold
- so when you use the search bar, you don't get any results for bold
, but do get results for **bold**
.
What should it be? Rendered HTML? It's one of those things. You could try stripping the tags.
In the end of the day, adding the body to the index was an after thought. Using good tags and title should return the results your users are looking for.