The "surround" query parser is fully wired into Solr trunk/4.0, if that helps.  
See http://wiki.apache.org/solr/SurroundQueryParser and the JIRA issue linked 
there in case you want to patch it into a different version.

        Erik

On Jan 21, 2011, at 02:24 , Ahson Iqbal wrote:

> Hi All
> 
> I want to integrate Surround Query Parser with solr, To do this i have 
> downloaded jar file from the internet and and then pasting that jar file in 
> web-inf/lib 
> 
> and configured query parser in solrconfig.xml as 
> <queryParser name="SurroundQParser" 
> class="org.apache.lucene.queryParser.surround.parser.QueryParser"/>
> 
> now when i load solr admin page following exception comes
> org.apache.solr.common.SolrException: Error Instantiating QParserPlugin,  
> org.apache.lucene.queryParser.surround.parser.QueryParser is not a  
> org.apache.solr.search.QParserPlugin
> 
> what i think that i didnt get the right plugin, can any body guide me from 
> where 
> to get right plugin for surround query parser or how to accurately integrate 
> this plugin with solr. 
> 
> 
> thanx
> Ahsan
> 
> 
> 

Reply via email to