Skip to content

Commit c44dde6

Browse files
committed
[NAE-2197] Elastic Mapping Fixes
- Updated the `findFilter` method to use `title.keyword` instead of `title` in the filter query string to align with changes in ElasticSearch mapping for enhanced precision.
1 parent ebd9c5c commit c44dde6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • application-engine/src/main/groovy/com/netgrif/application/engine/petrinet/domain/dataset/logic/action

application-engine/src/main/groovy/com/netgrif/application/engine/petrinet/domain/dataset/logic/action/ActionDelegate.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2271,7 +2271,7 @@ class ActionDelegate {
22712271
* @return found filter instance. Can be null
22722272
*/
22732273
Case findFilter(String name) {
2274-
return findCaseElastic("processIdentifier:$FilterRunner.FILTER_PETRI_NET_IDENTIFIER AND title:\"$name\"" as String)
2274+
return findCaseElastic("processIdentifier:$FilterRunner.FILTER_PETRI_NET_IDENTIFIER AND title.keyword:\"$name\"" as String)
22752275
}
22762276

22772277
/**

0 commit comments

Comments
 (0)