StaticSearch v0.5.0 update

By Craig Buckler

522 words, 3-minute read

update
Image courtesy of Markus Winkler

StaticSearch v0.5.0 was released on . There should be no breaking changes but – more importantly – it has a new logo!..

Logical OR/AND searches #

Search results now contain a new found value that gives the proportion of search words found on a page. For example, a page featuring two of the four search words entered has a found value of 0.5. You can set a new minfound attribute on the web component or bind module to limit results to pages with an equal or higher found value.

Consider a cooking website (thanks for the suggestion, Jos!) where users can search for recipes according to ingredients they have in the cupboard:

StaticSearch allows you build a custom recipe search where the user could click ingredients and use a slider to change the precision / fuzziness of results.

Additional language support #

StaticSearch removes commonly-used stop words considered insignificant to the meaning of text – such as “and”, “the”, and “but” in English. This can produce better results and v0.5.0 now supports stop words in:

The lists are courtesy of Stopwords ISO.

StaticSearch on Frontend Focus #

The Frontend Focus newsletter, issue 703 featured StaticSearch, so many thanks to their editors.

Get started #

The StaticSearch documentation provides a quick start guide, and details about the indexer, web component, bind module, and JavaScript API.

StaticSearch works well with Publican sites. The Publican documentation provides a quick start guide, a detailed set-up guide, API references, and common recipes you can use and adapt for your own projects.