SimpleSearch 2.1.2-pl

SimpleSearch 2.1.2-pl

Released Mar 15, 2019 by splittingred

A simple search solution for MODX Revolution.

Upgrade risks


Upgrading to 2.0.0 from 1.* is highly recommended, but it does introduce some risks.

Important changes from 1.* to 2.0.0:

  • The namespace has been changed from sisea to simplesearch. If you're using custom System Settings, then please migrate them.
  • The ElasticSearch and SOLR drivers have been removed, because they were in need of improvements. Future drivers should be seperate addons. Feel free to ask us for help here.

Bugs and feature requests

We value your feedback, feature requests and bug reports. Please issue them on Github.

Download 81kb (660 downloads)
Downloads: 97,983
License: GPLv2
Requires Revolution 2.0.x or greater
Compatible up to Revolution 2.7.x
Supports mysql,sqlsrv

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:

Installation Instructions

Install via Package Management.


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.

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 mb_strlen 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.

Version Released Author Downloads
30 Versions 5 Contributors 98,556 Downloads
2.1.0-pl Jan, 11 2019 sterc 3,169
2.0.1-pl Oct, 30 2018 sterc 3,098
2.0.0-pl Oct, 22 2018 sterc 624
1.9.2-pl Feb, 20 2015 theboxer 34,911
1.9.1-pl Jan, 06 2015 theboxer 2,182
1.9.0-pl Jun, 12 2014 netprophet 6,926
1.8.1-pl Jan, 21 2014 dinocorn 5,641
1.6.1-pl Dec, 28 2012 netprophet 9,809
1.6.0-pl May, 02 2012 splittingred 6,107
1.5.2-pl Jan, 03 2012 splittingred 3,948
1.5.1-pl Nov, 30 2011 splittingred 1,321
1.5.0-pl Oct, 31 2011 splittingred 1,597
1.4.1-pl Oct, 14 2011 splittingred 964
1.4.0-pl May, 27 2011 splittingred 3,955
1.4.0-rc1 May, 26 2011 splittingred 444
1.4.0-beta2 May, 20 2011 splittingred 659
1.4.0-beta1 May, 20 2011 splittingred 324
1.3.0-rc2 Mar, 07 2011 splittingred 2,405
1.3.0-rc1 Mar, 07 2011 splittingred 338
1.2.0-pl Mar, 02 2011 splittingred 566
1.2.0-rc2 Feb, 15 2011 splittingred 847
1.2.0-rc1 Feb, 14 2011 splittingred 504
1.1.1-pl Oct, 27 2010 splittingred 2,608
1.1.1-rc1 Oct, 21 2010 splittingred 588
1.1.0-pl Oct, 11 2010 splittingred 738
1.0.0-pl Jul, 27 2010 splittingred 2,074
1.0.0-beta3 Jun, 30 2010 splittingred 674
1.0.0-beta2 Jun, 30 2010 splittingred 344
1.0.0-beta1 Jun, 02 2010 splittingred 531