orama icon indicating copy to clipboard operation
orama copied to clipboard

CaseSensitive search

Open AlessandroMinoccheri opened this issue 2 years ago • 3 comments

Is your feature request related to a problem? Please describe. At the moment the search is case-insensitive, so it could be useful to add a parameter to specify if the search must be in case-sensitive

Describe the solution you'd like Adding a parameter during the search called caseSensitive could be good enough.

AlessandroMinoccheri avatar Jul 30 '22 07:07 AlessandroMinoccheri

We can add to SearchParams type the new property caseSensitive nullable and we can pass to the function tokenize the param to apply, or not, the lower case.

AlessandroMinoccheri avatar Jul 30 '22 07:07 AlessandroMinoccheri

How would this impact the search results? We're also planning to give support to tf-idf (or similar algorithm) to determine the weight of a given token depending on the context, would case sensitivity impact here as well?

micheleriva avatar Jul 30 '22 07:07 micheleriva

I think that we can add this as a little feature, not so much effort. And if we will add a better algorithm we can remove the feature. I think it's not a killer feature for the tool so it's not urgent.

AlessandroMinoccheri avatar Jul 30 '22 07:07 AlessandroMinoccheri

Closing as we're not planning this activity anytime soon

micheleriva avatar Jun 30 '23 13:06 micheleriva