Hi Shawn and Chris,
your inputs Helped I figured it out from all these links and also what Chris
mentioned.
Thanks,
Summer
On Jan 27, 2014, at 5:54 PM, Shawn Heisey wrote:
> On 1/27/2014 5:41 PM, Summer Shire wrote:
>> Caused by: java.lang.ClassCastException: .PayloadSimilarity
>> cannot be c
On 1/27/2014 5:41 PM, Summer Shire wrote:
Caused by: java.lang.ClassCastException: .PayloadSimilarity cannot
be cast to org.apache.lucene.search.similarities.Similarity
at
org.apache.solr.schema.IndexSchema$1.getSimilarity(IndexSchema.java:929)
at
org.apache.solr.schema.IndexSc
Thanks Chris for a quick response.
But I verified that I only have the following jars
lucene-analyzers-common-4.5.1
lucene-core-4.5.1
lucene-queries-4.5.1
lucene-spatial-4.5.1
solr-solrj-4.5.1
they are all the same version.
Also how can I verify the classpath ?
Since I do not have other lucen
: Caused by: java.lang.ClassCastException: .PayloadSimilarity
: cannot be cast to org.apache.lucene.search.similarities.Similarity
If you are getting this error even though you subclass DefaultSimilarity,
i suspect that one or both of the following has happened:
1) you've compiled your Payload