Close
dtSearch Engine API for Java
IndexingFlags.dtsIndexCreateOptionalAccentSensitive Field
Syntax
Java
public static final int dtsIndexCreateOptionalAccentSensitive = 0x4000;

Summary 

Create an index with optional accent sensitivity (ICU integration required) 

Remarks 

If an index was created with the dtsIndexCreateOptionalAccentSensitive, then at search time accents in search requests can be either required for a match or ignored. Set dtsSearchRequireAccents to make accents required. 

In an accents-optional index, accented letters can be made significant for matching purposes, but unaccented letters will still always match both accented and unaccented forms. 

For example, a search for "abc" will find both "abc" and "äbc". A search for "äbc" will find different results depending on whether the flag dtsSearchRequireAccents is set in the SearchJob. If dtsSearchRequireAccents is set, then "äbc" and will match "äbc" and will not match "abc". If dtsSearchRequireAccents is not set, then "äbc" will match both "äbc" and "abc". 

ICU integration is required for dtsIndexCreateOptionalAccentSensitive to work.