The News Search page uses Site Search ONE WordPress Plugin to demonstrate using WordPress Tags to provide Faceted Navigation, and Filters to narrow a search on Date Range.
The demo returns all news pages by default so that you can quickly select items of interest using the Facets based on Tags.
Stemming
English stemming is on by default so that a search for facets for example will also find news items containing facet or faceted, you can also apply stemming to a single word by appending a tilde like this: facets~ matches facets, facet, faceted (if you need stemming for other languages please ask! There is no additional cost for a single language alternative to English)
Synonyms
Synonyms uses the WordNet Thesaurus, if you apply this option, a search on route will find news items with road for example. To apply synonyms to a single word append an ampersand (&) like this: court& matches tribunal
New from 16 Nov 2021
The News search now demonstrates the Premium add-on for User Defined Synonyms as well as WordNet synonyms.
There are three Posts with a Category of IT included in the News index, with synonyms off, a search on the term 'mfp' will return one result.
Click on the Synonyms radio button and it will now return three results, the original result with the word 'mfp' and also posts with 'all-in-one-printer' and 'multi-function printer'.
(This is also demonstrated in the Search Widget Demo in the footer of every page; the News and Products and News selections will both return three results on a search using mfp with either a Boolean or All Words search).
The Premium add-on includes a subscription for User Thesaurus Plus, this includes over thirty ready made synonym files which can be edited.
You can create an unlimited number of synonym files, one for each index.
This demonstrates that although WordNet synonyms are useful for general purpose searching, on sites where specialized terms need to be searched, such as abbreviations for modern terminology, brand names or sites that may contain domain specific terms such as legal phrases, medical terminology, chemical terminology, abbreviations, etc., then the User Defined Synonyms feature of the Premium add-on is invaluable.
Soundex
Soundex is a phonetic algorithm for indexing names by sound, as pronounced in English. It is also useful if you are not sure of the spelling of a word, but it will give a very broad search, for example #introspectian will find the news item about Intraspexion ranked as the best match, with several unrelated news posts.
Numbers
Numbers can be entered as a search query, so a quick way of finding news items referring to 2018 is simply to enter 2018 (use the enter key to save having to click on the search icon).
Date Range Filter
The News searchbar also has a date-range filter, just click on the filter button (1), under Published Between type or use the calendar controls to add a date range, click Apply!
Emoji character search is also supported https://unicode.org/emoji/charts/full-emoji-list.html
How to...
Make a News Search page like this
If your website isn't a blog site
- From the WordPress Admin screen choose Settings > Writing and change the Default Post Category to News.
- The default 'blog' template will normally put a side panel with your recent and archived Posts, these can be renamed as we have here into Recent News and News Archive.
- Install the Site Search One Plugin, create a Search Page called News Search and choose to index Posts with a Category of News
- Click on the Options button and select "Results link to original page"
- From the WordPress Admin screen choose Appearance > Menus and add the News Search page to a menu or replace your existing News menu
- When you create Posts, add Tags so that your site visitors can easily 'drill down' to the content they are interested in
- When you create Pages (or Posts) add Custom Fields so that your site visitors can easily add a field Filter to their searches
Search Query Syntax
The full search query syntax available in the Site Search One WordPress Plugin can be found here https://searchcloudone.com/search-help/