Search shortcode

Relevanssi adds a shortcode to help making links to search results. That way users can easily find more information about a given subject from your blog. The syntax is simple: John Doe This will make the text John Doe a link to search results for John Doe. In case you……want to link to some other search term than the anchor text (necessary in languages like Finnish), you can use: Mr. John Doe Now the search will be for John Doe, but the anchor says Mr. John Doe. One more parameter: setting will wrap the search term in quotation marks,…

Premium 1.7.4

…log which have at least one matching token with the search query. For example, a search for ‘john’ will match previous searches for ‘john blackbourn’ and ‘john smith’ as they both match ‘john’. A search for ‘john blackbourn’ will match a previous search for ‘john smith’ as at least one……token within the search query matches. A search for ‘john blackbourn’ will not suggest a related search of ‘john’ as the function does not suggest previous searches that only consist of one token. Also, it only returns suggestions which have at least two hits and have been queried at least……an additional parameter to make recalculating weight easier. Added a very nice related searches feature by John Blackbourn. This update is recommended to all users of Relevanssi Premium and especially so, if you use AND searches. Relevanssi_match filter The filter is now passed another parameter in addition to the $match…

Related searches feature

…which have at least one matching token with the current search. Searching for “john” will match both “john blackbourn” and “john smith”. Searching for “john blackbourn” will match “john smith”, but won’t match “john”, because the function doesn’t suggest queries that consist of only one token. Also, only queries that…John Blackbourn wrote a cool related searches feature for Relevanssi Premium. It’s included from version 1.7.4. In order to use the related searches, you must have search logging enabled and a good log of past searches. Then add the following code to your search results template in a suitable place:…

Premium 1.5.3

…import settings! User search log is available to user with edit_post capabilities (editor role). There’s also an option to remove Relevanssi branding from the user search logs. Thanks to John Blackbourn. A proper database collation is now set. Thanks to John Blackbourn. UI looks better. Thanks to John Blackbourn. Small…John Blackbourn sent me a patch with several interesting changes to Relevanssi. I’ve implemented those and added a feature that has been requested couple of times. I’ve planned to add it, but haven’t really figured out a good way to do it until now — now you can export and……fixes: spelling corrector uses now correct multibyte string operators, unnecessary taxonomy queries are prevented. Thanks to John Blackbourn. You can now export and import settings. Thanks to ThreeWP Ajax Search for showing me a good (easy) way to do this. ThreeWP Ajax Search, by the way, is an Ajax search…

Free 2.9

…filter call and can thus be replaced. Google Adsense caused double hits to the user search logs. That’s now fixed thanks to Justin Klein. User search log is available to user with edit_post capabilities (editor role). Thanks to John Blackbourn. A proper database collation is now set. Thanks to John

Premium 1.5.10beta

…functions are not required anymore, Relevanssi will work without, but will cause problems if you try to handle multibyte strings without multibyte functions. (Thanks to John Blackbourn.) Couple of functions Relevanssi uses weren’t namespaced properly. They are now. (Thanks to John Blackbourn.) When $post is being indexed, `$post->indexing_content` is set……to `true`. This can be useful for plugin developers and all sorts of custom hacks. (Thanks to John Blackbourn.) User search log now displays the total number of searches. (Thanks to Simon Blackbourn.) Database now has an index on document ID, which should make indexing faster. If you upgrade from…

Premium 1.3

…It’s now possible to limit searches by custom fields. It’s now possible to use more than one taxonomy at the same time. Link anchor indexing The internal link indexing is something a bit complicated, so here’s little more information about it. John Blackbourn came up with the idea and also……for that phrase will not find post A, but post B. This whole idea of link anchors describing the documents they link to is of course familiar from Google. This feature has couple of options. First adjust the weight of the links. Default is a fairly low 0.25, but John

Premium 1.5.4

John Blackbourn sent me another bug fix, this time related to multisite installations. This isn’t a mandatory upgrade, unless you use multisite. It’s now possible to remove matches from the results with the external filter relevanssi_match. If the weight is set to 0, the match will be removed. Multisite installations……had problems — installing plugin on a single site in network didn’t work. John Blackbourn found and fixed the bug, thanks! The first change makes it possible to for example make a filter that’ll make the matches in post body lose all significance. See Making post body not count in Knowledge…

Premium 1.6.1

1.6.1 is a maintenance release that fixes some minor bugs. Fixed small bugs in the Did you mean -feature. (Thanks to John Blackbourn.) Fixed the tf*idf weighing a bit in order to increase the effect of the idf component. This should improve results of OR searches in particular by giving……more weight to rarer terms. Fixed the WPML filter when working with multisite environment. (Thanks to Richard Vencu.) Fixed (for real) a bug that created bad suggestion URLs with WPML. (Thanks to John Blackbourn.) Fixed s2member support for s2member versions 110912 and above. (Thanks to Jason Caldwell.) If all goes…

Premium 1.3.2

Here are the features from Relevanssi Premium 1.3.2. Expired cache data is now automatically removed from the database every day. There’s also an option to clear the caches. A nasty database bug has been fixed (thanks to John Blackbourn for spotting this). Fixed bugs on option page. I’m already working…