SimpleSearch

simplesearch

  • By splittingred
  • Latest release February 19, 2025 (1 year ago)

About

A simple search solution for MODX Revolution. Loosely based on AjaxSearch for Evolution (minus the ajax). Only searches Resources; does not search dynamic content.

See the official documentation here: https://docs.modx.com/extras/revo/simplesearch

Installation & usage

Install via Package Management.

Note: 

Note: 2.1.0-rc4 and earlier users wanting to use Solr search should check the SimpleSearch official documentation regarding a bug in 2.0.x with the OnDocUnPublished event that will need to be fixed.

Note: Those who used Solr searches in 1.4.0-rc1 will need to update their schema.xml files to the latest (included in core/components/simplesearch/docs/solr.schema.xml) and then re-run SimpleSearchIndexAll to take advantage of new auto-processed TV indexing.

At a glance

MODX 3 compatible from v3.0.0.

  • Developer splittingred
  • Latest release February 19, 2025 (1 year ago)
  • First seen in SiteDash March 15, 2019 (7 years ago)
  • License GPLv2
  • MODX support 2.0 – 100.0

Releases 7 indexed releases

Changelog
MODX.com

3.1.0-pl

February 19, 2025

1 year ago

<p><b>Simplesearch 2.1.2</b></p><ul><li><b>Show facet search results</b></li><li><b>Have all the placeholders in noresult</b></li><li><b>Fix pagination for pagelimit &amp; facet search</b></li></ul><p><b>SimpleSearch 2.1.1</b></p><ul><li><b>Fix includeTVLists bug</b></li></ul><p><b>SimpleSearch 2.1.0</b></p><ul><li>Added pdoParser support</li><li>Fix XSS security issue</li></ul><p><b>SimpleSearch 2.0.1</b></p><ul><li>Fixed so that includedTVs can also be boosted PR #1</li><li>Fixed condition for leftJoin of query to only join includeTVList TemplateVars when property is set. PR #5. Thanks to travisbotello</li><li>Fixed issue with currentPageTpl. PR #6. Thanks to travisbotello.</li></ul><p><b>SimpleSearch 2.0.0</b></p><ul><li>Removed ElasticSearch and Solr driver (outdated)</li><li>Renamed namespace sisea to simplesearch</li><li>Fixed issue where boosting would only be applied to paginated results</li><li>Added processor for returning a search autosuggest list</li></ul><p><b>New in 1.9.2</b></p><ul><li>Generate extract for whole search string, not just for last part</li><li>Added option to add search term into the link</li><li>Fixed generating extracts</li></ul><p><b>New in 1.9.1</b></p><ul><li>Fixed indexing resource when it's not published or deleted</li><li>Fixed error with redeclared function in plugin</li><li>Added includeTVList parameter</li></ul><p><b>New in 1.9.0</b></p><p>- Added extractSource parameter - names the field for the extract, or a snippet to run (which is passed the resource array as properties)</p><p><b>New in 1.8.1</b></p><p>- Added snippet for definition of ElasticSearch index (duplicate it and remove the _default from name to prevent recreating after update)</p><p><b>New in 1.8.0</b></p><p>- Added support to ElasticSearch driver for using search fields</p><p>- Added support to ElasticSearch driver for boosting results by a field value</p><p>- Updated Elastica to v0.90.7.0</p><p>- [#84] Czech localization</p><p>- [#78] Japanese localization</p><p>- [#77] Enable $tvPrefix to prefix TV placeholders</p><p>- [#2] Do not search TV values if includeTVs != 1 (modxcms/SimpleSearch#2)</p><p>- [#1] Fixed SQL for "exclude" parameter (modxcms/SimpleSearch#1)</p><p>- Added driver for ElasticSearch</p><p>- Added support to ElasticSearch driver for using search fields</p><p>- Added support to ElasticSearch driver for boosting results by a field value</p><p>- Updated Elastica to v0.90.7.0</p><p>- Added outputSeparator option </p><p><b>New in 1.7.0</b></p><p>- Added driver for ElasticSearch</p><div><p><b><b><b>New in 1.6.1</b></b></b></p><ul><li><p>[#69] Apply additional guard against injection of modx tags</p></li></ul><p><b><b>New in 1.6.0</b></b></p><ul><li>[#65] Fix issue with multiple search terms highlighting</li><li>[#67] Fix issue with quotations breaking forms in SimpleSearchForm snippet</li><li>[#64] Improved pagination links, added pageLimit and optional extra tpls</li></ul><p><b><b>New in 1.5.2</b></b></p><ul><li>[#60] Fix issue with search highlighting</li><li>Fix invalid mb_strlen call when should be strlen</li></ul><p><b><b>New in 1.5.1</b></b></p><ul><li>[#55] Fix issue with offsets in multibyte, one-character searches</li><li>[#59] Fix issue with broken links on pagination</li></ul><p><b><b>New in 1.5.0</b></b></p><ul><li>[#36] Fix issue where whereGroup is not incr when using useAllWords</li><li>Allow file-based chunks in all tpl chunks</li><li>[#53] Ensure list permission is checked on loading of resources</li><li>[#56] Fix issue with forward slashes in searches</li></ul><p><b><b>New in 1.4.1</b></b></p><ul><li>Ensure Solr-based search gets TVs indexed by name, so can be used as placeholders</li></ul><p><b><b>New in 1.4.0</b></b></p><ul><li>Improved TV indexing for Solr-based searches, all TVs are now pre-processed and included during index</li><li>Fixed bug with processTVs in basic search</li><li>[#49] Add sortBy and sortDir properties for sorting of results</li><li>[#48] Fix issue with internationalization of no results message</li><li>[#50] Fix issue with pagination and searches with spaces</li><li>Fixed missing plugin in build script for Solr indexing</li><li>Added Solr search implementation, split up search into driver-specific classes</li><li>[#37] Fix charset in German translation</li><li>[#46] Add tpl for no results message, in property noResultsTpl</li><li>Fix bug in simplesearchform.snippet where spaces were being removed from searchValue</li><li>Fix SqlSrv query issues</li></ul><p><b><b>New in 1.3.0</b></b></p><ul><li>Add sisea.facet placeholder for results page, and 'search' parameter to be sent into posthooks</li><li>Add faceted search ability through postHooks</li><li>Add facetLimit to limit # of non-active facet results that return on main results page</li></ul><p><b><b>New in 1.2.0</b></b></p><ul><li>Fixed bug with pagination</li><li>Fixed bug with searchScore sorting</li><li>Fixed bug with progressive highlighting class names</li><li>Added 'alias' to default docFields</li><li>Added fieldPotency property to allow certain fields higher search scores for the same match</li><li>Added result sorting (by searchScores)</li><li>Added the urlScheme parameter which allows you to control the URL scheme used for the pagination links.</li><li>Made the result extracts to never break words. This means that the extract limit is a soft limit now, and results look much nicer.</li><li>Added the query placeholder to the containerTpl chunk.</li><li>Fixed the default value of the landing parameter for the SimpleSearchForm snippet.</li><li>Fixed an URL decoding bug.</li><li>Removed defaults from the provided chunk templates, as they duplicate code from the snippets.</li><li>Made minor performance improvements.</li></ul></div>
MODX.com

3.0.0-alpha

July 25, 2022

4 years ago

—
MODX.com

2.1.2-pl

March 15, 2019

7 years ago

—
MODX.com

2.1.0-pl

January 11, 2019

7 years ago

—
MODX.com

2.0.1-pl

October 30, 2018

8 years ago

—
MODX.com

2.0.0-pl

October 22, 2018

8 years ago

—
MODX.com

1.9.2-pl

February 20, 2015

11 years ago

—

We've also seen 25 unverified versions of SimpleSearch in use, but don't list those as we've been unable of confirming they are official releases from an official source.