leo-buneev / vuepress-plugin-fulltext-search

Adds full-text search capabilities to your vuepress site with a help of flexsearch library.
MIT License
93 stars 23 forks source link

Only one result per document? #59

Open ssuess opened 2 years ago

ssuess commented 2 years ago

Hi, I have a problem with this plugin related to it not showing all the responses per doc. For example, I have a document with several headings (that show in the sidebar) that begin with "Address" ("Address Bar", "Address Example", etc), but when using the plugin, only a single item beginning with "Address" will show if the search term is "add" for example. When using the built in search for VuePress, all "Address" headers are found. This seems to be related to only showing a single item per md document. Is there a way to have the search show all results within a document, not just the first one? Thanks!

sebenik commented 2 years ago

agree - this plugin is pretty much useless without this feature

2vl commented 1 year ago

Is there any way to solve this problem ?

HughGrovesArup commented 11 months ago

Anyone found a way around this? Would be a great plugin for us if it was possible to configure it to return multiple matches per document.