Solr Filter Query - String vs. Int

Let's say I'm trying to request a bunch of documents that have categories, and I want to limit requests to a certain category (as I understand it, this will just use the fq parameter (filter request).

I was wondering if there is a performance improvement so that the parameter is an integer, not a string or something that usually happens with data? I would just be wrong on the right side, but I thought that I would double check if it does not really matter, and Solr performed some kind of optimization under the hood?

It would be much more convenient if I could just filter string matches, but ..

Thanks for the tips!

+5
source share
1 answer

( ) ( int- , String), .

+5

All Articles