The first tsvector field that contains the field is used:
|
if (in_array($this->ftsField->field,$annot->fields)) { |
|
$this->ftsField->field = $prop->name; |
|
break; |
|
} |
To fix this, we have to allow the user to directly specify the tsvector field to use, instead of using the underlying field in the query.
Example:
tsquery(a.titleAndBodyFts, :searchQuery)
The first tsvector field that contains the field is used:
DoctrineFullTextPostrgres/src/ORM/Query/AST/Functions/TSFunction.php
Lines 59 to 62 in 86bca02
To fix this, we have to allow the user to directly specify the tsvector field to use, instead of using the underlying field in the query.
Example: