Karl - where did you put your a.b.QParserPlugin? You should put it in <solr-home>/lib within a JAR file. I'm surprised you aren't seeing an error though.

        Erik

On Jan 27, 2009, at 1:07 AM, Karl Wettin wrote:

Hi forum,

I'm trying to get QParserPlugin to work, I've got
<queryParser name="myqueryparser" class="a.b.QParserPlugin"/>

but still get Unknown query type 'myqueryparser' when I
/solr/select/?defType=myqueryparser&q=foo

There is no warning about myqueryparser from Solr at startup.

I do however manage to get this working:
 <fieldType name="foo" stored="true" indexed="true" class="a.b.C">
   <analyzer type="index" class="a.b.D"/>
   <analyzer type="query" class="a.b.E"/>
 </fieldType>

So it shouldn't be my Solr environment or a classpath problem? That's the level of me setting up Solr, I'm left with no clues to why it doesn't register.


gratefully,

   karl

Reply via email to