Re: shards.tolerant and transient failures

2023-03-17 Thread Mikhail Khludnev
Hello Walter. I think you are right. Hitting exception in one of she shards https://github.com/apache/solr/blob/main/solr/core/src/java/org/apache/solr/handler/component/QueryComponent.java#L947 triggers partial results flag https://github.com/apache/solr/blob/main/solr/core/src/java/org/apache/sol

Re: Surround Query Parser: Not able to perform a search on integer field type

2023-03-17 Thread Mikhail Khludnev
Hello Ritesh. Can you check debugQuery output to see how it's parsed? On Fri, Mar 17, 2023 at 8:37 AM Ritesh Kumar wrote: > Hello team, > > I have this query > > q={!surround}(field1:(10w(term1,term2))) AND field2:1199 > > The field2 is of type solr.TrieIntField. I do not get any document > aga

Re: Surround Query Parser: Not able to perform a search on integer field type

2023-03-17 Thread Ritesh Kumar
This is what I am getting for this query q={!surround maxBasicQueries=4800} (name:(5w(apple,electro))) AND (popularity:5) "rawquerystring":"{!surround maxBasicQueries=4800} (name:(5w(apple,electro))) AND (popularity:5)", "querystring":"{!surround maxBasicQueries=4800} (name:(5w(apple,electro)))

Re: Surround Query Parser: Not able to perform a search on integer field type

2023-03-17 Thread Mikhail Khludnev
It's not clear, probably you want to move the second part out of {!surround} logic. You may try these alternatives: q=field2:1199 AND {!surround}(field1:(10w(term1,term2))) q=+field2:1199 +{!surround}(field1:(10w(term1,term2))) q=+field2:1199 +{!surround v='field1:(10w(term1,term2))'} On Fri, Mar

Partial highlighting problem in Solr

2023-03-17 Thread Keshav Melnad
Hi, I have created a Solr index using whitespace index analyzer with ngram filter and whitespace query analyzer. I am getting expected results. However, I want to highlight partial matches, i.e., when the query is "miss", I am expecting "submission" instead I am getting "submission". What am I sup