By Sterc Agency (sterc)

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

Sterc Agency

New in SimpleSearch 2.1.2

Simplesearch 2.1.2

  • Show facet search results
  • Have all the placeholders in noresult
  • Fix pagination for pagelimit & facet search

SimpleSearch 2.1.1

  • Fix includeTVLists bug

SimpleSearch 2.1.0

  • Added pdoParser support
  • Fix XSS security issue

SimpleSearch 2.0.1

  • Fixed so that includedTVs can also be boosted PR #1
  • Fixed condition for leftJoin of query to only join includeTVList TemplateVars when property is set. PR #5. Thanks to travisbotello
  • Fixed issue with currentPageTpl. PR #6. Thanks to travisbotello.

SimpleSearch 2.0.0

  • Removed ElasticSearch and Solr driver (outdated)
  • Renamed namespace sisea to simplesearch
  • Fixed issue where boosting would only be applied to paginated results
  • Added processor for returning a search autosuggest list

New in 1.9.2

  • Generate extract for whole search string, not just for last part
  • Added option to add search term into the link
  • Fixed generating extracts

New in 1.9.1

  • Fixed indexing resource when it's not published or deleted
  • Fixed error with redeclared function in plugin
  • Added includeTVList parameter

New in 1.9.0

- Added extractSource parameter - names the field for the extract, or a snippet to run (which is passed the resource array as properties)

New in 1.8.1

- Added snippet for definition of ElasticSearch index (duplicate it and remove the default from name to prevent recreating after update)

New in 1.8.0

- Added support to ElasticSearch driver for using search fields

- Added support to ElasticSearch driver for boosting results by a field value

- Updated Elastica to v0.90.7.0

- [#84] Czech localization

- [#78] Japanese localization

- [#77] Enable $tvPrefix to prefix TV placeholders

- [#2] Do not search TV values if includeTVs != 1 (modxcms/SimpleSearch#2)

- [#1] Fixed SQL for "exclude" parameter (modxcms/SimpleSearch#1)

- Added driver for ElasticSearch

- Added support to ElasticSearch driver for using search fields

- Added support to ElasticSearch driver for boosting results by a field value

- Updated Elastica to v0.90.7.0

- Added outputSeparator option 

New in 1.7.0

- Added driver for ElasticSearch

New in 1.6.1

  • [#69] Apply additional guard against injection of modx tags

New in 1.6.0

  • [#65] Fix issue with multiple search terms highlighting
  • [#67] Fix issue with quotations breaking forms in SimpleSearchForm snippet
  • [#64] Improved pagination links, added pageLimit and optional extra tpls

New in 1.5.2

  • [#60] Fix issue with search highlighting
  • Fix invalid mbstrlen call when should be strlen

New in 1.5.1

  • [#55] Fix issue with offsets in multibyte, one-character searches
  • [#59] Fix issue with broken links on pagination

New in 1.5.0

  • [#36] Fix issue where whereGroup is not incr when using useAllWords
  • Allow file-based chunks in all tpl chunks
  • [#53] Ensure list permission is checked on loading of resources
  • [#56] Fix issue with forward slashes in searches

New in 1.4.1

  • Ensure Solr-based search gets TVs indexed by name, so can be used as placeholders

New in 1.4.0

  • Improved TV indexing for Solr-based searches, all TVs are now pre-processed and included during index
  • Fixed bug with processTVs in basic search
  • [#49] Add sortBy and sortDir properties for sorting of results
  • [#48] Fix issue with internationalization of no results message
  • [#50] Fix issue with pagination and searches with spaces
  • Fixed missing plugin in build script for Solr indexing
  • Added Solr search implementation, split up search into driver-specific classes
  • [#37] Fix charset in German translation
  • [#46] Add tpl for no results message, in property noResultsTpl
  • Fix bug in simplesearchform.snippet where spaces were being removed from searchValue
  • Fix SqlSrv query issues

New in 1.3.0

  • Add sisea.facet placeholder for results page, and 'search' parameter to be sent into posthooks
  • Add faceted search ability through postHooks
  • Add facetLimit to limit # of non-active facet results that return on main results page

New in 1.2.0

  • Fixed bug with pagination
  • Fixed bug with searchScore sorting
  • Fixed bug with progressive highlighting class names
  • Added 'alias' to default docFields
  • Added fieldPotency property to allow certain fields higher search scores for the same match
  • Added result sorting (by searchScores)
  • Added the urlScheme parameter which allows you to control the URL scheme used for the pagination links.
  • Made the result extracts to never break words. This means that the extract limit is a soft limit now, and results look much nicer.
  • Added the query placeholder to the containerTpl chunk.
  • Fixed the default value of the landing parameter for the SimpleSearchForm snippet.
  • Fixed an URL decoding bug.
  • Removed defaults from the provided chunk templates, as they duplicate code from the snippets.
  • Made minor performance improvements.



March 15, 2019
Supported Versions
2 – 2.7

More from Sterc Agency


Form processor for modx


Batcher is a batch-editing Extra for MODX Revolution. It allows you…


Custom help button in manager menu which triggers popup with customer…

Mailchimp for FormIt

Package for subscribing users in Mailchimp lists using FormIt.