--------------------------------------------------------------------------------
Monster Search
--------------------------------------------------------------------------------

Version: 1.0.0
Author: Yanni Sanmiguel
Documentation: https://modxmonster.com/

Description
-----------
MonsterSearch is a high-performance, intelligent search interceptor for the MODX Manager. It overrides the limited native MODX search (which truncates results to 10 and ignores Resource IDs) to deliver fast, comprehensive, and highly targeted search results using a smart syntax.

Features & Search Syntax
------------------------
You can use the following prefixes in the manager search bar to filter your results instantly:

* Include Types:
  $ = Chunks      (e.g., $head finds chunks with 'head' in the name)
  ! = Snippets    (e.g., !pdoCall)
  * = TVs         (e.g., *mainImage)
  + = Templates   (e.g., +mainTemplate)
  @ = Plugins     (e.g., @migx)
  # = Resources   (e.g., #index finds resources by title)
  ^ = Users       (e.g., ^admin)

* Combine Types:
  $@ header       (Finds Chunks and Plugins containing 'header')

* ID Search:
  ~123            (Partial ID search: finds items with IDs containing 123, like 123, 1234, 9123)
  ~123[space]     (Exact ID search: add a SPACE at the end to find ONLY the item with ID 123)

* Exact Match:
  "phrase"        (Wrap your query in quotes for an exact match, bypassing fuzzy search)

* Exclusions:
  -prefix         (Add a minus sign to exclude a type. e.g., "footer -* -@" searches for 'footer' but excludes TVs and Plugins)

System Settings
---------------
- monstersearch.wildcards: Customize the prefix symbols mapped to each element type.
- monstersearch.fuzzy_threshold: Adjusts the Levenshtein distance for typo tolerance (default is 2). Set to 0 for strict matching.

Compatibility
-------------
Fully compatible with MODX Revolution 2.x and 3.x.