Solr 5.3.1 Bill Bell Sent from mobile
> On Dec 31, 2015, at 4:50 PM, William Bell <billnb...@gmail.com> wrote: > > We are getting weird results with if(exists(a),b,c). We are getting b+c!! > > http://localhost:8983/solr/providersearch/select?q=*:*&wt=json&state=state:%22CO%22&state1=state:%22NY%22&fq=if(exists(query($state1)),{!lucene%20v=$state1},{!lucene%20v=$state}) > > I am getting NY and CO! > > I only want $state1, which is NY. > > Any other ways to craft this? > > > -- > Bill Bell > billnb...@gmail.com > cell 720-256-8076