2.9.13
- Stripping shortcodes from excerpts didn't work properly. Should work now.
- Fixed a mistake in the FAQ: correct post date parameter is
post_date, not date.
- New filter
relevanssi_results added. This filter will process an array with (post->ID => document weight) pairs.
- Private and draft posts were deleted from the index when they were edited. This bug has been fixed. (Thanks to comprock.)
- When continuing indexing, Relevanssi now tells if there's more to index. (Thanks to mrose17.)
- Fixed problems with searching attachments. Indexing attachments still has some problems. When you build the index, attachments are indexed properly.
- Improved WPML support.
- The
relevanssi_index_doc() function has a new parameter that allows you to bypass global $post and force the function to index the document given as a parameter (see 2.9.13 release notes at Relevanssi.com for more details).
2.9.12
- Scheduled cache truncate wasn't scheduled properly. It is now.
- Added support for 'author' query variable.
- Fixed a bug with indexing custom post types.
2.9.11
- Plugin now works properly without multibyte string functions.
- Fixed s2member support for s2member versions 110912 and above. (Thanks to Jason Caldwell.)
- Added support for 'tag' query variable.
2.9.10
- AND search failed, when search query included terms that are shorter than the minimum word length.
- Improved s2member support.
- Fixed errors about deprecated ereg_replace.
- Small fix to Did you mean suggestions.
2.9.9
- Removed warnings about undefined functions and missing $wpdb.
- Fixed a bug that removed 'à' from search terms.
- Phrases are recognized from custom field searches.
2.9.8
- Support for s2member membership plugin. Search won't show posts that the current user isn't allowed to see.
- New filter
relevanssi_post_ok can be used to add support for other membership plugins.
- Post meta fields that contain arrays are now indexed properly, expanding all the arrays.
2.9.7
- Fixed a bug that causes problems when paging search results.
- Taxonomy term restrictions didn't work most of the time.
- the_content filters didn't run on excerpts.
- Style data and other extra elements created by short codes are now stripped.
2.9.6
- Fixed a problem causing "Attempt to modify property of non-object" errors.
- Fixed a warning message.
2.9.5
- Searching for private posts caused an error message.
2.9.4
- Relevanssi should now be much lighter on server.
- Post date selection didn't work properly. Fixed that.
- Stopwords can be exported.
- Restricting indexing on custom post types works better.
- Minimum word length is properly enforced in indexing.
- Punctuation removal is more efficient.
- Fixed a MySQL error that was triggered by a media upload.
- Fixed a bug that caused an error when quick editing a post.
2.9.3
- A call to a non-existing function in 2.9.2 made all sorts of mess. This release fixes all problems with broken loops. I'm sorry about the bug.
2.9.2
- It's now possible to adjust the number of search results per page. See Changing posts_per_page for instructions.
- Somebody reported revisions appearing in the search results. Added an extra check to prevent that.
- Improved the indexing procedure to prevent MySQL errors from appearing and to streamline the process.
- Improved the way custom post types can be handled in indexing.
- Improved the method of removing nested highlights.
2.9.1
- It is now possible to change the default result order from relevance to post date.
- Fixed a bug that caused wrong $post object to be set in indexing.
- Added a new hook
relevanssi_excerpt_content; see Knowledge Base for details.
2.9
- Fixed a bug that caused Cyrillic searches in the log to get corrupted.
- Punctuation removal function is now triggered with a 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 Blackbourn.
- UI looks better. Thanks to John Blackbourn.
- Lots of small fixes here and there.
2.8.2
- The
order parameter was case sensitive. It isn't anymore.
- WordPress didn't support searching for multiple categories with the
cat query variable. There's now new cats which can take multiple categories.
- Similar to
cats vs cat, you can use post_types to restrict the search to multiple post types.
2.8.1
- Fixed two small mistakes that caused error notices.
- Custom post types, particularly those created by More Types plugin, were causing problems.
2.8
- There's now a way to truncate the cache (sorry it took so long). Expired cache data is now automatically removed from the database every day. There's also an option to clear the caches.
- Highlights didn't work properly with non-ASCII alphabets. Now there's an option to make them work.
- Title highlight option now affects external search term highlights as well.
- There were some bugs on the options page.
2.7.5
- There was a bug that caused shortcodes to fail in 2.7.4. That's fixed now.
- Category search will now include subcategories as well, both when including and excluding.
2.7.4
- Improved the fallback to fuzzy search if no hits are found with regular search.
- AND searches sometimes failed to work properly, causing unnecessary fallback to OR search. Fixed.
- When using WPML, it's now possible to choose if the searches are limited to current language.
- Adding stopwords from the list of 25 common words didn't work. It works now.
- The instructions to add a category dropdown to search form weren't quite correct. They are now.
- Small fix that makes shortcodes in posts more compatible with Relevanssi.
2.7.3
- IMPORTANT SECURITY UPDATE: Earlier versions of Relevanssi have a cross-site scripting (XSS) vulnerability. Please install this update as soon as possible.
- Added instructions of doing a category dropdown in the search form in the FAQ.
2.7.2
- A silly typo caused the caching not to work. That's fixed now.
- A new filter:
relevanssi_didyoumean_query lets you modify the query used for 'Did you mean?' searches.
2.7.1
- Thanks to a bug in the code, the WPML support didn't work. It's fixed now.
2.7
- Caching search results is possible. If you have lots of repeated queries, caching will provide extra speed and less wear on server.
- Multilanguage plugin WPML is now supported. If WPML is active, Relevanssi will automatically restrict search results to current language.
- New filter:
relevanssi_search_filter lets you adjust search query variables. See source code for further details. Thanks to Sam Hotchkiss.
- Got a report of synonyms not working; hopefully fixed it now.
- It is now possible to set the minimum word length to index. Default is now 3 instead of 2.
- You can now add several stopwords at one go and remove all stopwords.
- Author search didn't work properly. It works now.
- Search result highlighting functions properly now, there might've been some problems with it.
2.6
- New setting allows user to define how
exclude_from_search is handled. It's now possible to exclude a custom post type from general searches and search for it specifically by defining post_type.
- New filter:
relevanssi_hits_filter lets you process hits found by Relevanssi. See FAQ.
2.5.6
- Attachments are no longer automatically indexed; there's an option for it now.
- You can now exclude custom post types from index.
- When AND search fails, it falls back to OR search. It's now possible to disable this fallback.
2.5.5
- The stopword management created empty stopwords. It won't anymore.
- Faulty HTML code in the admin page has been fixed.
- Indexing shortcodes that need the global $post context is now possible.
- Relevanssi is now aware of attachments and manages post_status of "inherit".
- These fixes were provided by Warren Tape, thanks!
2.5.4
- Small bugfix relating to post types.
- Added stopword management tools: way to remove and add stopwords.
- Custom excerpts can now be created from post excerpts as well, if those are indexed.
- Added answers to some frequently asked questions to the documentation.
2.5.3
- Very small bugfix fixing the error on line 1192.
2.5.2
- Fixed a bug about
mysql_real_escape_string() expecting a string.
- Added documentation about compatibility issues.
2.5.1
- Option to highlight search terms in comment text as well.
- Fixed a small problem in highlighting search terms.
2.5
- Better support for other search plugins like Dave's WordPress Live Search.
- New User searches screen that shows more data about user searches.
- Search logs can now be emptied.
- Custom fields weren't indexed on updated posts. That is now fixed.
- Once again improved the highlighting: now the highlighting will look for word boundaries and won't highlight terms inside words.
- Relevanssi query engine can now be accessed directly, making all sorts of advanced hacking easier. See FAQ.
2.4.1
- Fixed a problem where search term highlighting was changing terms to lowercase.
- Fixed a problem with highlighting breaking stuff in shortcodes.
- Made some changes to the admin interface - there's more to come here, as the admin page is a bit of a mess right now.
2.4
- Highlighting post content won't highlight inside HTML tags anymore.
- Soft hyphens inside words are now removed in indexing. They still confuse the highlighting.
- Matching engine is now able to match category titles that contain apostrophes.
2.3.3.1
- Suppressed the error messages on the correct mb_strpos() function call. If you still get mb_strpos() errors, update.
- Added a FAQ note on getting the number of search results found.
2.3.3
- Suppressed notices on one mb_strpos() call.
- Added a search variable "by_date" to filter search results, see FAQ for details.
2.3.2
- Fixed a serious bug related to taxonomy term searches that could cause strange search results. Thanks to Charles St-Pierre for finding and killing the bug.
- Spanish stopwords are now included (thanks to Miguel Mariano).
2.3.1
- I fixed the highlighting logic a bit, the highlighting didn't work properly before.
2.3
- New highlighting option: HTML5 mark tag. Thanks to Jeff Byrnes.
- Relevanssi can now highlight search term hits in the posts user views from search. Highlighting for search term hits from external searches will be added later.
- It is now possible to add custom filtering to search results, see FAQ for details. Thanks to Charles St-Pierre.
- Removed search result highlighting from admin search, where it wasn't very useful.
2.2
- Relevanssi used to index navigation menu items. It won't, anymore.
- Translation and stopwords in Brazilian Portuguese added, thanks to Pedro Padron.
2.1.9
- No changes, I'm just trying to resurrect the broken Relevanssi plugin page.
2.1.8
- Including the popular microtime_float function caused conflicts with several other plugins (whose authors are just as sloppy as I am!). Fixed that.
2.1.7
- The index categories option wasn't saved properly. Now it is.
- Fixed the %terms% breakdown option to show correct counts and added %total% to show total hit count.
- Phrases are now matched also in post titles and category titles (before they were only matched against post content).
- Post excerpts can now be indexed and searched. I would appreciate feedback from people who use this feature: do you use the excerpts in search results? If you use custom snippets created by Relevanssi, what you want them to display?
- Set the constant TIMER to true to enable timing of the search process for debugging reasons.
2.1.6
- Title highlighting caused an error. That is now fixed. I also streamlined the highlighting code a bit.
2.1.5
- You can now enter synonyms, expanding queries with synonyms when doing an OR search. This is useful to expand acronyms and abbreviations, for example.
- When doing a phrase search, highlighting will only highlight phrase hits.
- New breakdown variable %terms% will list hits by term.
- Some users reported error messages about unexpected T_OBJECT_OPERATOR. Those shouldn't happen, please let me know if they still do.
- Highlighting will now highlight only complete words.
2.1.4
- Fixed a small bug that could cause all queries by anonymous users to go unlogged.
2.1.3
- OR operator makes a comeback! The default operator is now an option, and if you choose AND and search gets no results, an OR search is also run.
- You can now give a list of user ids - any searches by those users will not be logged. List your admin user id, so your test searches won't clutter the log.
2.1.2
- Removing punctuation didn't work properly, making phrase search impossible. I'd thought I'd fix it, but for some reason I made a mistake and the fix didn't appear in the released versions.
- Search has now an implicit AND operator, which means that every search term must appear in all result documents. Please let me know if you'd prefer an implicit OR operator, like Relevanssi had before.
- Relevanssi options page now shows the amount of indexed documents, making troubleshooting indexing easier.
2.1.1
- "Did you mean" suggestions now work in blogs that are not in root directory.
- Early 2.1 downloads had faulty encodings. Update to make sure you've got a good file.
2.1
- An experimental "Did you mean" suggestion feature. Feedback is most welcome.
- Added a short code to facilitate adding links to search results.
- Fixed a small bug that in some cases caused MySQL errors.
2.0.3
- Fixed problems relating to the orderby parameter.
2.0.2
- Small bug fix: with private posts, sometimes correct amount of posts weren't displayed.
2.0.1
- Exclude posts/pages option wasn't saved on the options page. It works now.
- 2.0 included an unnecessary function that broke Relevanssi in WP 2.8.5. Fixed that.
2.0
- Post authors can now be indexed and searched. Author are indexed by their display name.
- In search results, $post->relevance_score variable will now contain the score of the search result.
- Comment authors are now included in the index, if comments are indexed.
- Search results can be sorted by any $post field and in any order, in addition of sorting them by relevancy.
- Private posts are indexed and displayed to the users capable of seeing them. This uses Role-Scoper plugin, if it's available, otherwise it goes by WordPress capabilities.
- Searches can be restricted with a taxonomy term (see FAQ for details).
1.9
- Excerpts are now better and will contain more search terms and not just the first hit.
- Fixed an error relating to shortcodes in excerpts.
- If comments are indexed, custom excerpts will show text from comments as well as post content.
- Custom post type posts are now indexed as they are edited. That didn't work before.
- Cleaned out more error notices.
1.8.1
- Sometimes empty ghost entries would appear in search results. No more.
- Added support for the WordPress' post_type argument to restrict search results to single post type.
- Relevanssi will now check for the presence of multibyte string functions and warn if they're missing.
- The category indexing option checkbox didn't work. It's now fixed.
- Small fix in the way punctuation is removed.
- Added a new indexing option to index all public post types.
1.8
- Fixed lots of error notices that popped up when E_NOTICE was on. Sorry about those.
- Custom post types can now be indexed if wanted. Default behaviour is to index all post types (posts, pages and custom types).
- Custom taxonomies can also be indexed in addition to standard post tags. Default behaviour is to index nothing. If somebody knows a way to list all custom taxonomies, that information would be appreciated.
1.7.3
- Small bug fix: code that created database indexes was broken. Say "ALTER TABLE
wp_relevanssi ADD INDEX (doc)" and "ALTER TABLE wp_relevanssi ADD INDEX (term)" to your MySQL db to fix this for an existing installation.
1.7.2
- Small bug fix: public posts that are changed to private are now removed from index (password protected posts remain in index).
- An Italian translation is now included (thanks to Alessandro Fiorotto).
1.7.1
- Small fix: the hidden variable cat now accepts negative category and tag ids. Negative categories and tags are excluded in search. Mixing inclusion and exclusion is possible.
1.7
- Major bug fix: Relevanssi doesn't kill other post loops on the search result page anymore. Please let me know if Relevanssi feels too slow after the update.
- Post categories can now be indexed.
1.6
- Relevanssi is now able to expand shortcodes before indexing to include shortcode content to the index.
- Fixed a bug related to indexing, where tag stripping didn't work quite as expected.
1.5.3
- Added a way to uninstall the plugin.
- A French translation is now included (thanks to Jean-Michel Meyer).
1.5.2
- Fixed a small typo in the code, tag and comment hit count didn't work in the breakdown. If you don't use the breakdown feature, updating is not necessary.
1.5.1
- User interface update, small changes to make the plugin easier to use.
- Fixed a small bug that sometimes causes "Empty haystack" warnings.
1.5
- Comments can now be indexed and searched (thanks to Cristian Damm).
- Tags can also be indexed (thanks to Cristian Damm).
- Search term hits in the titles can be highlighted in search results (thanks to Cristian Damm).
- When using custom excerpts, it's possible to add extra information on where the hits were made.
- Fuzzy matching is now user-adjustable.
- UTF-8 support is now better (thanks to Marcus Dalgren).
1.4.4
- Added an option to exclude posts or pages from search results. This feature was requested and provided by Cristian Damm.
1.4.3
- Indexing of custom fields is now possible. Just add a list of custom field names you want to include in the index on the settings page and re-index.
1.4.2
- Users can search for specific phrases by wrapping the phase with "quotes".
- Fixed a bug that caused broken HTML in some cases of highlighted search results (search term matches in highlighting HTML tags were being highlighted).
- Improved punctuation removal. This change requires reindexing the whole database.
1.4.1
- Fixed a bug that caused empty search snippets when using word-based snippets.
- Improved support for WP 2.5.
- Added an option to exclude categories and tags from search results.
- Added an option to index only posts or pages.
- Added French stopwords.
1.4
- Added an option to restrict searches to certain categories or tags, either by plugin option or hidden input field in the search form.
- The contents of
<script> and other such tags are now removed from excerpts.
- When indexing, HTML tags and
[shortcodes] are removed.
- Digits are no longer removed from terms. Re-index database to get them indexed.
- Wrapped the output of
relevanssi_the_excerpt() in
<
p> tags.
* Stopwords are no longer removed from search queries.
* Search result snippet length can now be determined in characters or whole words.
1.3.3
- Small bug fixes, removed the error message caused by a query that is all stop words.
- Content and excerpt filters are now applied to excerpts created by Relevanssi.
- Default highlight CSS class has a unique name,
search-results was already used by WordPress.
1.3.2
- Quicktags are now stripped from custom-created excerpts.
- Added a function
relevanssi_the_excerpt()', which prints out the excerpt without triggeringwp_trim_excerpt()` filters.
1.3.1
1.3
- New query logging feature. Any feedback on query log display features would be welcome: what information you want to see?
- Added a CSS class option for search term highlighting.
- Fixed a bug in the search result excerpt generation code that caused endless loops with certain search terms.
1.2
- Added new features to display custom search result snippets and highlight the search terms in the results.
1.1.3
- Fixed a small bug, made internationalization possible (translations are welcome!).
1.1.2
- English stopword file had a problem, which is now fixed.
1.1.1
- Fixed a stupid bug introduced in the previous update. Remember always to test your code before sending files to repository!
1.1
- Fixes the problem with pages in search results.
1.0