Skip to content

Useless when there are multiple tsvector fields for the same text field #8

@teohhanhui

Description

@teohhanhui

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions