Hi, I'm facing a weird problem while using q.op=AND condition. Looks like it gets into some conflict if I use multiple "appends" condition in conjunction. It works as long as I've one filtering condition in appends.
<lst name="appends"> <str name="fq">Source:"TestHelp"</str> </lst> Now, the moment I add an additional parameter, search stops returning any result. <lst name="appends"> <str name="fq">Source:"TestHelp" | Source:"TestHelp2"</str> </lst> If I remove "q.op=AND" from request handler, I get results back. Data is present for both the Source I'm using, so it's not a filtering issue. Even a blank query fails to return data. Here's my request handler. <requestHandler name="/testhandler" class="solr.SearchHandler"> <lst name="defaults"> <str name="echoParams">explicit</str> <float name="tie">0.01</float> <str name="wt">velocity</str> <str name="v.template">browse</str> <str name="v.contentType">text/html;charset=UTF-8</str> <str name="v.layout">layout</str> <str name="v.channel">testhandler</str> <str name="defType">edismax</str> <str name="q.op">AND</str> <str name="q.alt">*:*</str> <str name="rows">15</str> <str name="fl">id,url,Source2,text</str> <str name="qf">text^1.5 title^2</str> <str name="bq">Source:TestHelp^3 Source:TestHelp2^0.85</str> <str name="bf">recip(ms(NOW/DAY,PublishDate),3.16e-11,1,1)^2.0</str> <str name="df">text</str> <!-- facets --> <str name="facet">on</str> <str name="facet.mincount">1</str> <str name="facet.limit">100</str> <str name="facet.field">language</str> <str name="facet.field">Source</str> <!-- Highlighting defaults --> <str name="hl">true</str> <str name="hl.fl">text title</str> <str name="f.text.hl.fragsize">250</str> <str name="f.text.hl.alternateField">ShortDesc</str> <!-- Spell check settings --> <str name="spellcheck">true</str> <str name="spellcheck.dictionary">default</str> <str name="spellcheck.collate">true</str> <str name="spellcheck.onlyMorePopular">false</str> <str name="spellcheck.extendedResults">false</str> <str name="spellcheck.count">1</str> <!-- Shard Tolerant --> <str name="shards.tolerant">true</str> </lst> <lst name="appends"> <str name="fq">Source:"TestHelp" | Source2:"TestHelp2"</str> </lst> <arr name="last-components"> <str>spellcheck</str> </arr> </requestHandler> Not sure what's going wrong. I'm using a SolrCloud environment with 2 shards having a replica each. Any pointers will be appreciated. Thanks, Shamik