Re: StopWords behavior with phrases

2019-05-21 Thread Jan Høydahl
Well perhaps you don't need to remove stopwords at all? :) Or a middle ground is to NOT removing stopwords in your 'index' analyzer, then you have the flexibility of removing them on query side. Thus if you use &stopwords=false on your call perhaps that works? -- Jan Høydahl, search solution arc

StopWords behavior with phrases

2019-05-21 Thread Ashish Bisht
Hi, We make query to solr as below *q="market and cloud" OR (market and cloud)&q.op=AND&deftype=edismax* Our intent to look for results with both phrase match and AND query together where solr itself takes care of relevancy. But due to presence of stopword in phrase query a gap is left whic