testing new search algorithm
This commit is contained in:
parent
d8d12bd9a7
commit
ffeb67a93c
@ -173,12 +173,12 @@ class SearchPage extends Page {
|
||||
if(term[$i][0] == "+"){
|
||||
// adds to mustIncludeArray
|
||||
$mustIncludeArray[] = array(substr(term[$i], 1))
|
||||
echo ("test print " + substr(term[$i], 1));
|
||||
echo "test print " substr(term[$i], 1);
|
||||
}
|
||||
elseif(term[$i][0] == "!" || term[$i][0] == "-"){
|
||||
// adds to mustExcludeArray
|
||||
$mustExcludeArray[] = array(substr(term[$i], 1))
|
||||
echo ("test print " + substr(term[$i], 1));
|
||||
echo "test print " substr(term[$i], 1);
|
||||
}
|
||||
else{
|
||||
// adds to canIncludeArray
|
||||
|
Loading…
x
Reference in New Issue
Block a user