: When I do a specific MLT search on a document with debugQuery=True I am getting : a NullPoniterException both on screen and in my catalina logs. The query is as : follows : : http://localhost:8080/solr2/select/?mlt.minwl=3&mlt.fl=body&mlt.mintf=1&mlt.maxwl=15&mlt.maxqt=20&version=1.2&rows=5&mlt.mindf=1&fl=nid,title,path,url,digest,teaser&start=0&q=nid:16036&qt=mlt&debugQuery=true : : Is this desired behavior?
An NPE is never desired behavior ... can you elaborate on which version of Solr you are using? and to clarify: you are saying you only get this when "debugQuery=true" ... correct? : org.apache.solr.util.SolrPluginUtils.doStandardDebug(SolrPluginUtils.java:399) : at : org.apache.solr.handler.MoreLikeThisHandler.handleRequestBody(MoreLikeThisHandle : r.java:189) The MLT Handler (not to be confused with the MLT Component) does things a bit differnetly then most other handlers, so it's not suprising that something like this might have gotten overlooked. skimming the code i don't see any obvious reason why it should encounter an NPE however. can you reproduce this using hte example configs/data, or is it something special about your data? -Hoss