mirror of https://github.com/vuejs/vitepress
fix(localSearch): update indexing logic to handle MiniSearch duplicate ID (#4251)
Introduce a check to discard duplicate IDs before adding them to the index in the localSearchPlugin. This ensures that each ID is uniquely indexed, preventing any potential overwriting of existing entries. The modification enhances the reliability and accuracy of the local search functionality.pull/4282/head
parent
fb772acacf
commit
9d4e4a6998
Loading…
Reference in new issue