holunda-io / camunda-bpm-taskpool

Library for pooling user tasks and process related business objects.
https://www.holunda.io/camunda-bpm-taskpool/
Apache License 2.0
68 stars 26 forks source link

Use Full Text Search extensions in RDBMS to improve text search in JPA View #794

Open zambrovski opened 1 year ago

zambrovski commented 1 year ago

Scenario

Current Behaviour

LIKE operator of SQL is used (slow).

Wanted Behaviour

Faster implementation accelerated by a RDBMS vendor extension.

Full text search is supported by the following vendors:

Possible Workarounds

zambrovski commented 1 year ago

Idea: use built-in RDBMS functions, expose them into JPA, and use as part of specification. The function exposure will be vendor specific, the remaining part should be generic.

References:

zambrovski commented 1 year ago
zambrovski commented 1 year ago

See https://github.com/toolisticon/example-spring-jpa-fts