oops, didn't see all of the thread before I hit send. Good work, Erik On Fri, Dec 2, 2011 at 5:21 PM, simon <mtnes...@gmail.com> wrote:
> Take a look at https://issues.apache.org/jira/browse/SOLR-2703, which > integrates the surround parser into Solr trunk. There's a dependency on a > Lucene patch which resolves a caching problem ( > https://issues.apache.org/jira/browse/LUCENE-2945 ) which also wasn't > backported to earlier versions of Lucene > > I'm not sure how easily this would all would backport to Solr 3.1, but you > could try.... > > best > > -Simon > > > On Tue, Nov 22, 2011 at 1:05 AM, Rahul Mehta <rahul23134...@gmail.com>wrote: > >> 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 >> >> Rahul Mehta >> > >