You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue : when using the search box, if we look for pages containing the word "eth_sendRawTransaction" by searching "eth_send" it will find results however, if we search with "RawTransaction" no result is displayed even if we have pages with words containing this substring.
Expected behaviour: any part of a word may be used as a search string even if the start or end is missing.
Current behaviour: we can only search word either by the exact word or by a substring containing the beginning of the searched word.
Thanks for your help.
Nicolas.
The text was updated successfully, but these errors were encountered:
MkDocs uses Lunr.js for search. By Default, Lunr.js defaults to using whitespace and hyphens as word separators, however, you can customize that behavior by setting the plugins.search.separator config setting. For example, to use the underscore as an additional separator:
plugins:
- search:
separator: '[\s\-\_]+'
However, be aware that the Material theme reimplements much of the search plugin itself and may behave differently as explained in its documentation. For example, it appears to use the extra.search.tokenizer setting to define word separators.
Given the above, you should probably report any search issues with the Material Theme, to the Material theme project. I'm closing this as an upstream issue.
Hi, here's my setup:
Issue : when using the search box, if we look for pages containing the word "eth_sendRawTransaction" by searching "eth_send" it will find results however, if we search with "RawTransaction" no result is displayed even if we have pages with words containing this substring.
Expected behaviour: any part of a word may be used as a search string even if the start or end is missing.
Current behaviour: we can only search word either by the exact word or by a substring containing the beginning of the searched word.
Thanks for your help.
Nicolas.
The text was updated successfully, but these errors were encountered: