> I tried it by placing ComplexPhrase-1.0.jar in > apache-solr-1.4.0\lib ; > apache-solr-1.4.0\example\lib ; and > apache-solr-1.4.0\example\solr\lib with > the same error
You need to copy it to only apache-solr-1.4.0\lib Maybe it is better to get a fresh copy of apache-solr-1.4.0.zip and continue step by step. copy ComplexPhrase-1.0.jar to only apache-solr-1.4.0\lib run 'ant clean dist' move \apache-solr-1.4.0\dist\apache-solr-1.4.1-dev.war to apache-solr-1.4.0\example\webapps\solr.war add the line <queryParser name="complexphrase" class="org.apache.solr.search.ComplexPhraseQParserPlugin" /> to apache-solr-1.4.0\example\solr\conf\solrconfig.xml java -jar start.jar java -jar post.jar *.xml http://localhost:8983/solr/select/?q=features%3A%22s*+c*%22&version=2.2&start=0&rows=10&indent=on&defType=complexphrase&hl=true&hl.fl=features should return 4 documents with highlighting.