Re: Error loading custom similarity class

2007-04-09 Thread mark angelillo
Thanks, Yonik. I was definitely missing that. On Apr 9, 2007, at 2:08 PM, Yonik Seeley wrote: On 4/9/07, mark angelillo <[EMAIL PROTECTED]> wrote: package org.apache.lucene.misc; [...] 2) Create the .jar file. (Maybe I'm doing this wrong?) > javac classpath lucene-core-nightly.jar CustomS

Re: Error loading custom similarity class

2007-04-09 Thread Yonik Seeley
On 4/9/07, mark angelillo <[EMAIL PROTECTED]> wrote: package org.apache.lucene.misc; [...] 2) Create the .jar file. (Maybe I'm doing this wrong?) > javac classpath lucene-core-nightly.jar CustomSimilarity.java > jar -cvf CustomSimilarity.jar CustomSimilarity.class This may be the problem.

Error loading custom similarity class

2007-04-09 Thread mark angelillo
Hiya, I'm currently trying to compile and load my own similarity class in Solr, and I'm having a bit of a problem. Here's what I've done so far: 1) Create the .java for the class using SweetSpotSimilarity as a model. I'm using the code below to make sure I can get this working -- my real