You may want to consider a join, esp. if you're ever consider thousands of groups. e.g. fq={!join from=access_control_group to=doc_group}access_control_user_id:USERID
On 18 March 2017 at 05:57, Yonik Seeley <ysee...@gmail.com> wrote: > On Fri, Mar 17, 2017 at 2:17 PM, Shawn Heisey <apa...@elyograg.org> wrote: > > On 3/17/2017 8:11 AM, Yonik Seeley wrote: > >> For Solr 6.4, we've managed to circumvent this for filter queries and > >> other contexts where scoring isn't needed. > >> http://yonik.com/solr-6-4/ "More efficient filter queries" > > > > Nice! > > > > If the filter looks like the following (because q.op=AND), does it still > > use TermsQuery? > > > > fq=id:(id1 OR id2 OR id3 OR ... id2000) > > Yep, that works as well. As does fq=id:id1 OR id:id2 OR id:id3 ... > Was implemented here: https://issues.apache.org/jira/browse/SOLR-9786 > > -Yonik >