Re: Question on Solr filter syntax

2023-05-26 Thread Chris Hostetter
: For e.g. - Current FQ - : fq: planName:all_features OR zipCode:1234 (in this case entire FQ is cached) : : I don't want to cache the entire FQ given it's very unique , but I : want to cache the first part (plan_name:all_features) to improve : performance . How do I achieve this? : : : My und

Re: Question on solr filter syntax

2023-05-26 Thread Mikhail Khludnev
Hello, Yash. The syntax you come up with makes sense. It's important to don't prepend it with space; probably bracket may be redundant; you can also resolve syntax ambiguity with local params. fq={!cache=false v="filter(planName:all_features) OR zipCode:1234"} debugQuery=true shows how it's parsed.

Re: Question on Solr filter syntax

2023-05-25 Thread Shawn Heisey
On 5/25/23 11:00, Wei wrote: For e.g. - Current FQ - fq: planName:all_features OR zipCode:1234 (in this case entire FQ is cached) I don't want to cache the entire FQ given it's very unique , but I want to cache the first part (plan_name:all_features) to improve performance . How do I achieve th

Question on solr filter syntax

2023-05-25 Thread Wei
Send on behalf of my colleague as his email seems not showing up in the list. Hi Team, I was reading about special filter syntax in Solr documentation - https://solr.apache.org/guide/8_3/the-standard-query-parser.html#differences-between-lucenes-classic-query-parser-and-solrs-standard-query-par

Question on Solr filter syntax

2023-05-25 Thread Wei
Send on behalf of my colleague as his email seems not showing up in the list. Hi Team, I was reading about special filter syntax in Solr documentation - https://solr.apache.org/guide/8_3/the-standard-query-parser.html#differences-between-lucenes-classic-query-parser-and-solrs-standard-query-p