Index_field_lengths _len


#1

I have index_field_lengths=1 and a field testfield contains “1234567890” or 10 letters…

I mine the testfield_len should be 10, but it is 4 … so what is ***_len exactly?
used i a expression

regards Peter


#2

it counts not chars but tokens and token generation depends on your charset_table and index settings. could you provide reduced example to check the case?


#3

ok, tnx for info… so it’s not useable for me. I know i can do that with len(field) as attribute, but my indexs are allready large enough :wink:
regards Peter