Re: Casting Exception with Similarity

2007-03-14 Thread Tim Patton
Sweet, looks like someone beat me to it. Tim Chris Hostetter wrote: : : Makes sense, I guess I was looking for a mention in the online : documentation for the xml file where it mentions how to specify your own : similarity. Somehow I never stumbled on the other two spots. Hmmm... you mean ht

Re: Casting Exception with Similarity

2007-03-14 Thread Chris Hostetter
: : Makes sense, I guess I was looking for a mention in the online : documentation for the xml file where it mentions how to specify your own : similarity. Somehow I never stumbled on the other two spots. Hmmm... you mean http://wiki.apache.org/solr/SchemaXml right? yeah i can see how that woul

Re: Casting Exception with Similarity

2007-03-14 Thread Tim Patton
Chris Hostetter wrote: : I figured out my problem. My own jar must be in the examples/solr/lib : directory (which does not exist in the download). I found a hint to : this on the mailing list. The docs don't indicate this anywhere : promenant. Perhaps the lib directory should exist in the d

Re: Casting Exception with Similarity

2007-03-03 Thread Chris Hostetter
: I figured out my problem. My own jar must be in the examples/solr/lib : directory (which does not exist in the download). I found a hint to : this on the mailing list. The docs don't indicate this anywhere : promenant. Perhaps the lib directory should exist in the default : download in the f

Re: Casting Exception with Similarity

2007-03-02 Thread Tim Patton
Chris, I figured out my problem. My own jar must be in the examples/solr/lib directory (which does not exist in the download). I found a hint to this on the mailing list. The docs don't indicate this anywhere promenant. Perhaps the lib directory should exist in the default download in the

Re: Casting Exception with Similarity

2007-03-01 Thread Chris Hostetter
: class cast exceptions when I try to use my own similarity class, like this: : public class TestSimilarity extends DefaultSimilarity : { : } I have two alternate guesses 1) this may be a missleading error message, the real problem may be that without a default constructor, it can't instan