5 seems a reasonable limit to me. After that revert to slow. -----Original Message----- From: Erick Erickson [mailto:erickerick...@gmail.com] Sent: Saturday, 2 September 2017 12:01 p.m. To: solr-user <solr-user@lucene.apache.org> Subject: Re: query with wild card with AND taking lot of time
How far would you take that? Say you had 100 terms joined by AND (ridiculous I know, just sayin' ). Then you'd chew up 100 entries in the filterCache. On Fri, Sep 1, 2017 at 4:24 PM, Walter Underwood <wun...@wunderwood.org> 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… > > wunder > Walter Underwood > wun...@wunderwood.org > http://observer.wunderwood.org/ (my blog) > > >> On Sep 1, 2017, at 2:01 PM, Erick Erickson <erickerick...@gmail.com> wrote: >> >> Shawn: >> >> See: https://issues.apache.org/jira/browse/SOLR-7219 >> >> Try fq=filter(foo) filter(bar) filter(baz) >> >> Patches to docs welcome ;).... >> >> On Fri, Sep 1, 2017 at 1:50 PM, Shawn Heisey <apa...@elyograg.org> wrote: >>> On 9/1/2017 8:13 AM, Alexandre Rafalovitch wrote: >>>> You can OR cachable filter queries in the latest Solr. There is a >>>> special >>>> (filter) syntax for that. >>> >>> This is actually possible? If so, I didn't see anything come across >>> the dev list about it. >>> >>> I opened an issue for it, didn't know anything had been implemented. >>> After I opened the issue, I discovered that I was merely the latest >>> to do so, it had been requested before. >>> >>> Can you point to the relevant part of the reference guide and the >>> Jira issue where the change was committed? >>> >>> Thanks, >>> Shawn >>> > Notice: This email and any attachments are confidential and may not be used, published or redistributed without the prior written consent of the Institute of Geological and Nuclear Sciences Limited (GNS Science). If received in error please destroy and immediately notify GNS Science. Do not copy or disclose the contents.