I have no idea whether it will work with 1.4, although I haven't looked at the
underlying code. I actually doubt it. There's an entry in newer solrconfig.xml
files "luceneMatchVersion" that is referenced by that code for that just
doesn't exist in the 1.4 code frame.

I strongly recommend you upgrade, there's a TON of fixes/improvements in the
3x code line. ComplexPhraseQuery hasn't been committed yet, but you'd
have a much better chance of making this work.

Best
Erick

On Wed, Nov 30, 2011 at 6:57 AM, vrpar...@gmail.com <vrpar...@gmail.com> wrote:
> Thanks Erick,
>
> i have download ComplexPhraseQueryParser from your give link, apply maven
> package to create jar file
>
> and add it to WEB-INF/lib folder and generate war file and deploy to jboss
> server
>
> also i added QueryParser into solrconfig.xml file,
>
> now when i do normal search, it works fine but when i add
> defType=ComplexPhrase, it gives me error
>
> nosuchfielderror: luceneMatchVersion
>
> i am using solr 1.4
>
> how to solve above error?
>
>
> Thanks,
> Vishal Parekh
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/how-to-apply-fuzzy-search-with-slop-tp3542286p3548074.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to