Re: Solr NGram Phrase Query

2017-11-16 Thread Chuming Chen
Thanks Shawn. Now I understand why my query without slop worked on the old system, not new one. On top of this NGram phrase query, I also want to do some wildcards. I used complex phrase in my query. {!complexphrase inOrder=true}sequence:"KK?” worked debug":{ "rawquerystring":"{!complexphr

Re: Solr NGram Phrase Query

2017-11-16 Thread Shawn Heisey
On 11/16/2017 8:40 AM, Chuming Chen wrote: > I think the position is the issue, but how do I fix it? Is something wrong > with my index analyzer or just my query is not right? I need to do phrase > query, order is important here. > > I tried “KKS KSA”~1 in the query, it worked. However, if I do

Re: Solr NGram Phrase Query

2017-11-16 Thread Chuming Chen
Hi Shawn, I think the position is the issue, but how do I fix it? Is something wrong with my index analyzer or just my query is not right? I need to do phrase query, order is important here. I tried “KKS KSA”~1 in the query, it worked. However, if I do "KKS KSA SAR”~1, it didn’t work, I had t

Re: Solr NGram Phrase Query

2017-11-16 Thread Shawn Heisey
On 11/16/2017 7:38 AM, Chuming Chen wrote: Referencing the first image in the message, showing the analysis tab.  This reply is plain text, so that image cannot be included. In your query, you have two terms as a phrase - kks and ksa.  These match terms in the index, but the reason that the *q