Hi,

I am not sure about a design decision in the opensearch extension.
When the user (or any other) index is created [1] a "lowercase" normalizer is 
added [2].
It seems that this will make all searches case insensitive no matter if you use 
the "==" or the "=~" fiql operator.
It would also make the functionality of SyncopeFiqlParser [3] obsolete.

Is this interpretation correct and can someone remember the rationale for that 
design? 

[1] 
https://github.com/apache/syncope/blob/master/ext/opensearch/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/job/OpenSearchReindex.java#L146
[2] 
https://github.com/apache/syncope/blob/master/ext/opensearch/client-opensearch/src/main/java/org/apache/syncope/ext/opensearch/client/OpenSearchIndexManager.java#L107
[3] 
https://github.com/apache/syncope/blob/master/common/idrepo/lib/src/main/java/org/apache/syncope/common/lib/search/SyncopeFiqlParser.java#L38

Mit freundlichen Grüßen
Clemens (Bergmann)

-- 
Clemens Bergmann
[er/ihm; he/him]
Gruppe Nutzermanagement und Entwicklung
Technische Universität Darmstadt
Hochschulrechenzentrum, Alexanderstraße 2, 64283 Darmstadt
Tel. +49 6151 16 71184
http://www.hrz.tu-darmstadt.de/

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to