On 9/1/2017 5:24 PM, Walter Underwood wrote: > Hmm. Solr really should convert an fq of “a AND b” to separate “a” and “b” fq > filters. That should be a simple special-case rewrite. It might take less > time to implement than explaining it to everyone. > > Well, I guess then we’d have to explain how it wasn’t really necessary to > send separate fq params…
I don't think it's a good idea for Solr to attempt optimizations like this for everything. Sure, there are plenty of times that people ask Solr to do something, not realizing that what they have asked for is a bad idea, but what about the person who *does* know exactly what they have asked Solr to do, and actually did intend to do it that way? Turning one filter query into five filter queries does sound like a good idea, but those filters will all run in parallel, which depending on the use case might overwhelm CPU resources. This is probably going to sound insane, but I like the fact that Solr gives me plenty of rope with which to hang myself. It means I have full access to all the power of the system. I know that Solr will do exactly what I tell it to do, even if I don't actually understand all the instructions I've given it. Thanks, Shawn