837183 writes

So there are two things I wanna check with you medoc :) if I may:

On page 31 of the manual it says that "with a raw index (not the default), searches can be made sensitive to character case and diacritics."

Later on it says that

"autocasesens..The default value is true"

The "---can--- be made sensitive" is misleading, because they are case sensitive by default.

So I offer this phrasing:

"with a raw index (not the default), searches are (by default): diacritics insensitive and case sensitive."

I have a raw index, I set autocasesens to "0" in recoll.conf, saved, rebooted….opened Recoll 1.21.5….and still.."rEcoll" gives different results from "recoll"

So..that’s a bug, right? :S

Thanks for creating the best search tool I’ve ever used, by the way :)

medoc writes

Yep, bug.

There is an autocasesens in the code, which indeed defaults to true, and an autocasesens configuration variable, the value of which is never applied to the code one. As far as I can see, this was true since the first version with optional case sensitivity (I just never wrote the bit of necessary code). Even more funny, there are comments about needing access to the config to set the variable, but this never went further…

I’ll document it as a known bug for 1.21 (it can be worked around by entering small characters as far as I can see?), and it will be fixed in 1.22

Same for autodiacsens, the config variable does nothing.

I will also try to clarify the description in the manual a bit.

Thanks for digging this out.

medoc writes

Actually make use of the autodiacsens and autocasesens configuration variables. Closes issue #299

→ <<cset ac80292bd7bc > >

medoc writes

Actually make use of the autodiacsens and autocasesens configuration variables. Closes issue #299

→ <<cset 0176eb7b8127 > >