Hi, Which version of Solr are you running? How many shards/replica is this running on, and are you running on SolrCloud?
Regards, Edwin On Mon, 18 Mar 2019 at 22:19, Ashish Bisht <bishtashis...@gmail.com> wrote: > Please see the below requests and response > > http://Sol:8983/solr/SCSpell/select?q="*internet of > > things*"&defType=edismax&qf=spellcontent&wt=json&rows=1&fl=score,internet_of_things:query({!edismax > v='"*internet of things*"'}),instant_of_things:query({!edismax v='"instant > of things"'}) > > > Response contains score from function query > > "fl":"score,internet_of_things:query({!edismax v='\"internet of > things\"'}),instant_of_things:query({!edismax v='\"instant of things\"'})", > "rows":"1", > "wt":"json"}}, > "response":{"numFound":851,"start":0,"maxScore":7.6176834,"docs":[ > { > "score":7.6176834, > * "internet_of_things":7.6176834*}] > }} > > > But if in the same request q is changed,it doesn't give score > > http://Sol-1:8983/solr/SCSpell/select?q="*wall > > street*"&defType=edismax&qf=spellcontent&wt=json&rows=1&fl=score,internet_of_things:query({!edismax > v='"*internet of things*"'}),instant_of_things:query({!edismax v='"instant > of things"'}) > > "q":"\"wall street\"", > "defType":"edismax", > "qf":"spellcontent", > "fl":"score,internet_of_things:query({!edismax v='\"internet of > things\"'}),instant_of_things:query({!edismax v='\"instant of things\"'})", > "rows":"1", > "wt":"json"}}, > "response":{"numFound":46,"start":0,"maxScore":15.670144,"docs":[ > { > "score":15.670144}] > }} > > > Why score of function query is getting applied when q is a different. > > > > -- > Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html >