RE: Problem loading my codec sometimes

2013-09-26 Thread Scott Schneider
Ok, I created SOLR-5278. Thanks again! Scott > -Original Message- > From: Chris Hostetter [mailto:hossman_luc...@fucit.org] > Sent: Wednesday, September 25, 2013 10:15 AM > To: solr-user@lucene.apache.org > Subject: RE: Problem loading my codec sometimes > > &

RE: Problem loading my codec sometimes

2013-09-25 Thread Chris Hostetter
: Ah, I fixed it. I wasn't properly including the : org.apache.lucene.codecs.Codec file in my jar. I wasn't sure if it was : necessary in Solr, since I specify my factory in solrconfig.xml. I : think that's why I could create a new index, but not load an existing : one. Ah interesting.

RE: Problem loading my codec sometimes

2013-09-25 Thread Scott Schneider
> -Original Message- > From: Chris Hostetter [mailto:hossman_luc...@fucit.org] > Sent: Wednesday, September 25, 2013 9:49 AM > To: solr-user@lucene.apache.org > Subject: RE: Problem loading my codec sometimes > > > : I still wonder why it can create a new index us

RE: Problem loading my codec sometimes

2013-09-25 Thread Chris Hostetter
: I still wonder why it can create a new index using my codec, but not : load an index previously created with my codec. In solrconfig.xml, I : specify the CodecFactory along with the package name, whereas the codec : name that is read from the index file has no package name. Could that : be

Re: Problem loading my codec sometimes

2013-09-25 Thread Alexandre Rafalovitch
On Wed, Sep 25, 2013 at 2:10 PM, Scott Schneider < scott_schnei...@symantec.com> wrote: > I still wonder why it can create a new index using my codec, but not load > an index previously created with my codec. Could be a sequence of classpath initialization. For example, the write/read functions

RE: Problem loading my codec sometimes

2013-09-25 Thread Scott Schneider
with SPI. What else can I try? Thanks, Scott > -Original Message- > From: Shawn Heisey [mailto:s...@elyograg.org] > Sent: Tuesday, September 24, 2013 5:51 PM > To: solr-user@lucene.apache.org > Subject: Re: Problem loading my codec sometimes > > On 9/24/2013 6:32 PM

Re: Problem loading my codec sometimes

2013-09-24 Thread Shawn Heisey
On 9/24/2013 6:32 PM, Scott Schneider wrote: > I created my own codec and Solr can find it sometimes and not other times. > When I start fresh (delete the data folder and run Solr), it all works fine. > I can add data and query it. When I stop Solr and start it again, I get: > > Caused by: ja

Problem loading my codec sometimes

2013-09-24 Thread Scott Schneider
Hello, I created my own codec and Solr can find it sometimes and not other times. When I start fresh (delete the data folder and run Solr), it all works fine. I can add data and query it. When I stop Solr and start it again, I get: Caused by: java.lang.IllegalArgumentException: A SPI class o