Skip to content

MVC/Core - properly support multi clause search phrases #6658

Description

@AdSchellevis

Important notices

Before you add a new report, we ask you kindly to acknowledge the following:

Is your feature request related to a problem? Please describe.

In our generic search functionality separate tokens are not being identified in which case larger sets are more difficult to search through. For example when providing a search string like foo bar one would expect to retrieve records where both (AND) foo and bar are being found.

Describe the solution you like

Split search phrases in UIModelGrid and searchRecordsetBase() and filter records accordingly.
A minor downside of "tokenizing" the search phrase would be that explicit matches with whitespaces in them would now also return records with foo and bar combined in the record.

Describe alternatives you considered

none

Metadata

Metadata

Assignees

Labels

featureAdding new functionality

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions