Can someone please explain the below behavior.For different q parameter
function query response differs although function queries are same

http://<BOX-1>:8983/solr/SCSpell/select?q="*market
place*"&defType=edismax&qf=spellcontent&wt=json&rows=1&fl=internet_of_things:if(exists(query({!edismax
v='"internet of
things"'})),true,false),instant_of_things:if(exists(query({!edismax
v='"instant of things"'})),true,false)

Response contains function query results

 "response":{"numFound":80,"start":0,"docs":[
      {
        "internet_of_things":false,
        "instant_of_things":false}]
  }}

wheras for different q

http://<Box-1>:8983/solr/SCSpell/select?q="*intent of
things*"&defType=edismax&qf=spellcontent&wt=json&rows=1&fl=internet_of_things:if(exists(query({!edismax
v='"internet of
things"'})),true,false),instant_of_things:if(exists(query({!edismax
v='"instant of things"'})),true,false)

Response doesnot contain function query results
  
"response":{"numFound":0,"start":0,"docs":[]
  }}


>From the results it looks like if the results of q doesn't yield result
function queries don't work.



--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Reply via email to