The same speed if they are in Solr's cache :-)
Range query will be slightly slower, but if it becomes a bottleneck or
not depends on the total complexity of the queries/requests.
What does the cache use as a key to determine if it is cached? 

For example, how many bitsets are cached here with these to searches?

"+id:test1 +id:test2"
and. "+id:test2 +id:test1"

Does solr parse and cache each queryitem or the entire search query?

Start with the more flexible range query and only optimize if
necessary.  Both should be relatively quick.
Yeah.. I think that is what I will do.

Reply via email to