$iId,
$aWord['class'],
$aWord['type'],
- $aWord['operator'] ? Operator::NONE : Operator::NEAR
+ $aWord['operator'] ? Operator::NEAR : Operator::NONE
);
}
} elseif ($aWord['country_code']) {
} else {
$oToken = new Token\Word(
$iId,
- $aWord['word'][0] != ' ',
+ $aWord['word_token'][0] != ' ',
(int) $aWord['count']
);
}