Captures the real query plan the server runs on your box, plus Postgres cache stats, so we can see why smart search is slow.
# Download the scripts
git clone https://gist.github.com/Deeds67/75bb0e5b2c1443402454068adb0cd102.git gallery-search-diag
cd gallery-search-diag