lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmet Arslan <>
Subject Re: Wildcard search in phrase query using spanquery
Date Wed, 21 Apr 2010 12:39:03 GMT

> 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 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=""
to apache-solr-1.4.0\example\solr\conf\solrconfig.xml

java -jar start.jar

java -jar post.jar *.xml


should return 4 documents with highlighting.


View raw message