--- On Tue, 11/22/11, Rahul Mehta <rahul23134...@gmail.com> wrote:
> From: Rahul Mehta <rahul23134...@gmail.com> > Subject: Integrating Surround Query Parser > To: solr-user@lucene.apache.org > Date: Tuesday, November 22, 2011, 8:05 AM > Hello, > > I want to Run surround query . > > > 1. Downloading from > http://www.java2s.com/Code/Jar/JKL/Downloadlucenesurround241jar.htm > 2. Moved the > lucene-surround-2.4.1.jar to > /apache-solr-3.1.0/example/lib > 3. Edit the solrconfig.xml with > 1. <queryParser > name="SurroundQParser" class=" > > org.apache.lucene.queryParser.surround.parser.QueryParser"/> > 4. Restart Solr > > Got this error : > > org.apache.solr.common.SolrException: Error Instantiating > QParserPlugin, > org.apache.lucene.queryParser.surround.parser.QueryParser > is not a org.apache.solr.search.QParserPlugin > at > org.apache.solr.core.SolrCore.createInstance(SolrCore.java:425) > > > > -- > Thanks & Regards > Hello Rahul, It is already integrated. Please see : http://wiki.apache.org/solr/SurroundQueryParser >