Search plugin does not seem to find words with 4 characters or less
Hi,
I noticed that the (frontend) search plugin does not seem to find words with 4 characters or less. Is there a way to change this? I just use the default blog theme in Dutch language by the way.
Looking forward to your reply and best regards,
Bart
I noticed that the (frontend) search plugin does not seem to find words with 4 characters or less. Is there a way to change this? I just use the default blog theme in Dutch language by the way.
Looking forward to your reply and best regards,
Bart
- Edi
- Site Admin
- Posts: 3121
- Joined: Sun Aug 09, 2015 5:01 pm
- Location: Zurich
- Has thanked: 54 times
- Been thanked: 77 times
- Contact:
You can try to modify the following line in the plugin Search:
https://github.com/bludit/bludit/blob/m ... n.php#L194
I'm not shure how accurat the results will be.
https://github.com/bludit/bludit/blob/m ... n.php#L194
I'm not shure how accurat the results will be.
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
Hi,
try to change this value 5 for 3.
https://github.com/bludit/bludit/blob/m ... n.php#L228
Also, the amount of words per page is limited here, this means the search will create a cache for the first 800 words from the post.
https://github.com/bludit/bludit/blob/m ... in.php#L13
After you do the changes, you need to deactivate and activate the plugin to regenerate the chache.
Regards
try to change this value 5 for 3.
https://github.com/bludit/bludit/blob/m ... n.php#L228
Also, the amount of words per page is limited here, this means the search will create a cache for the first 800 words from the post.
https://github.com/bludit/bludit/blob/m ... in.php#L13
After you do the changes, you need to deactivate and activate the plugin to regenerate the chache.
Regards