-
Hi, EX: foo 5 bar (Where foo and bar should be occurred in a long sentence within the given distance of 5 words) I went through the documentation but could not find any guideline or example. Can any one provide an example or a reference to get an idea if possible? Proximity search ref: https://en.wikipedia.org/wiki/Proximity_search_(text) Thank you very much. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
No, the library cannot do that on its own 😄 Seems like a pretty neat use case though, and worth exploring more. |
Beta Was this translation helpful? Give feedback.
-
I am not sure if this would be a feature used by "most" users though 😅 . Proximity-search is more of an advanced feature. Want to be mindful of also not introducing bloat to the library. One way to address this is by introducing plugin functionality, and developers can pick and choose which plugins to add to Fuse. I've been thinking of this plugin functionality for a long while, unfortunately, it is quite a lot of work. |
Beta Was this translation helpful? Give feedback.
-
Hi @krisk , Thank you for the reply. |
Beta Was this translation helpful? Give feedback.
No, the library cannot do that on its own 😄
Seems like a pretty neat use case though, and worth exploring more.