Hi Mikko,
Thanks for all the information and great plugin.
When searching on oikonos.org using Relevanssi plugin…
Stejneger's Petrel
Stejneger is not highlighted
Petrel is highlighted.
If we use curly apostrophe to exactly match content
Stejneger’s Petrel
Then every “s” is highlighted in search results
and Stejneger’s is still not highlighted.
I did add this code to functions.php as you said to do earlier in this thread regarding apostrophes
add_filter('relevanssi_remove_punctuation', 'remove_apostrophes', 9);
function remove_apostrophes($a) {
$a = str_replace("'", '', $a);
return $a;
}
We updated plug-in yesterday and built the index again.
Regards,
Greg