1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-12 09:44:38 +02:00

Various minor updates. Plus add a $database->isStopword() method and improve error logging in WireDatabasePDOStatement

This commit is contained in:
Ryan Cramer
2020-06-19 12:35:21 -04:00
parent 32e031ab7d
commit d79d9286b1
10 changed files with 115 additions and 20 deletions

View File

@@ -3,7 +3,7 @@
/**
* ProcessWire DatabaseStopwords
*
* MySQL stopwords, primarily for use with filtering fulltext queries
* MySQL stopwords, primarily for use with filtering fulltext queries (MyISAM only)
*
* ProcessWire 3.x, Copyright 2016 by Ryan Cramer
* https://processwire.com
@@ -49,8 +49,8 @@ class DatabaseStopwords {
"various", "very", "via", "viz", "vs", "want", "wants", "was", "wasn't", "way", "we", "we'd", "we'll", "we're", "we've", "welcome", "well", "went", "were",
"weren't", "what", "what's", "whatever", "when", "whence", "whenever", "where", "where's", "whereafter", "whereas", "whereby", "wherein", "whereupon",
"wherever", "whether", "which", "while", "whither", "who", "who's", "whoever", "whole", "whom", "whose", "why", "will", "willing", "wish", "with", "within",
"without", "won't", "wonder", "would", "would", "wouldn't", "yes", "yet", "you", "you'd", "you'll", "you're", "you've", "your", "yours", "yourself",
"yourselves", "zero");
"without", "won't", "wonder", "would", "wouldn't", "yes", "yet", "you", "you'd", "you'll", "you're", "you've", "your", "yours", "yourself", "yourselves", "zero"
);
/**
* Get all stopwords