On Thu, Oct 8, 2009 at 12:14 PM, gdeconto <gerald.deco...@topproducer.com> wrote: > I did check the other posts, as well as whatever I could find on the net but > didnt find anything. > > Has anyone encountered this type of issue, or is what I am doing (extending > QParserPlugin) that unusual??
I think you need to provide some more information such as a stack trace for the NPE, or a more elaborate description of what you think the problem is with the debug component. You said "because the debugging code looks at the query passed in and not the expanded query", but I don't understand that. The debug component is passed the actual Query object that the QParserPlugin created. -Yonik http://www.lucidimagination.com > > > gdeconto wrote: >> >> ... >> one thing I noticed is that if I append "debugQuery=true" to a query that >> includes the virtual function, I get a NullPointerException, likely >> because the debugging code looks at the query passed in and not the >> expanded query that my code generates and that gets used by solr for >> retrieving data. >> ... >> > > -- > View this message in context: > http://www.nabble.com/how-can-I-use-debugQuery-if-I-have-extended-QParserPlugin--tp25789546p25803277.html > Sent from the Solr - User mailing list archive at Nabble.com. > >