Skip to content

TextFilter with multiple values? #32

@skttl

Description

@skttl

I'm trying to do a text filter on a single field with multiple possible values like this:

new TextFilter(
    FieldName: "FullTextContent",
    Values: ["salmon", "samlon"],
    Negate: false
);

I'm expecting this to return results where FullTextContent contains either salmon or samlon. But I don't get any results.

If I do them individually (one per search) they do return the content correctly.

new TextFilter(
    FieldName: "FullTextContent",
    Values: ["salmon"],
    Negate: false
);
new TextFilter(
    FieldName: "FullTextContent",
    Values: ["samlon"],
    Negate: false
);

Am I expecting too much from the TextFilter, or am I doing it wrong?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions