Re: Couple of problems

2006-10-12 Thread mark
Hi, that sorted it out. cheers mark On 12 Oct 2006, at 02:22, Chris Hostetter wrote: : But this is a right out of the box install - I have only messed with : the schema to suit me. when i use your schema with the current trunk using Jetty, right at startup my logs contain a "SolrExceptio

Re: Couple of problems

2006-10-11 Thread mark
This didn't show up at all in your Tomcat logs on startup? or the first time you tried to do a search or an update? (it's in the SolrServlet.init method) Nope - not at all. Hmm - thanks for finding problem though - will try it in a bit -Hoss

Re: Couple of problems

2006-10-11 Thread Chris Hostetter
: But this is a right out of the box install - I have only messed with : the schema to suit me. when i use your schema with the current trunk using Jetty, right at startup my logs contain a "SolrException: Schema Parsing Failed" which is wrapping... Caused by: java.lang.RuntimeException: 'id' is

Re: Couple of problems

2006-10-11 Thread Kevin Lewandowski
I've had a problem similar to this and it was because of the schema.xml. It was valid XML but there were some incorrect field definitions and/or the default field listed was not a defined field. I'd suggest you start with the default schema and build on it piece by piece, each time testing for th

Re: Couple of problems

2006-10-11 Thread mark
can you zip up your solr/conf (so we have the schema and the config) and post it online somehwere? http://www.pagefall.com/cnf.zip But this is a right out of the box install - I have only messed with the schema to suit me. It was a nightly build though that's really weird ... i

Re: Couple of problems

2006-10-11 Thread Chris Hostetter
Wow ... this is crazy looking ... as far as i can tell the only way to get an NPE at thta line is if the DocumentBuilder is being given a null IndexSchema when i'ts constructed. I don't know how that would happen. can you zip up your solr/conf (so we have the schema and the config) and post it o

Re: Couple of problems

2006-10-11 Thread mark
I believe so - an earlier attempt did fail in that department but the result was an XML parsing error (as you might expect). On 11 Oct 2006, at 14:19, Erik Hatcher wrote: Are you ensuring that the %s replacements are properly encoded for XML? Erik On Oct 11, 2006, at 7:54 AM, ma

Re: Couple of problems

2006-10-11 Thread Erik Hatcher
Are you ensuring that the %s replacements are properly encoded for XML? Erik On Oct 11, 2006, at 7:54 AM, mark wrote: that just returns the null pointer exception. I have checked my schema and doc: Schema: stored="true"/> stored="true"/> Template: doc = ""

Re: Couple of problems

2006-10-11 Thread mark
that just returns the null pointer exception. I have checked my schema and doc: Schema: stored="true"/> Template: doc = """ %s %s %s %s %s %s """ On 11 Oct 2006, at 12:19, Panayiotis Papadopoulos wrote: How d

Re: Couple of problems

2006-10-11 Thread Panayiotis Papadopoulos
How do you post the documents to solr ? Via php, jsp or smth like that ? Then if u use curl from php or jsp or asp you can see the error that solr returns, in php using curl i found out the error using this... $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,$url); curl_setopt($ch, CURLOPT_RETUR

Re: Couple of problems

2006-10-11 Thread mark
Hi, there are no errors while reading the schema: Oct 11, 2006 9:56:43 AM org.apache.solr.schema.IndexSchema readConfig INFO: Reading Solr Schema Oct 11, 2006 9:56:43 AM org.apache.solr.schema.IndexSchema readConfig INFO: Schema name=archive Oct 11, 2006 9:56:43 AM org.apache.solr.schema.IndexSc

Re: Couple of problems

2006-10-11 Thread Panayiotis Papadopoulos
Check the tomcat logs... most probably there is a conflict with the field definitions in your schema.xml

Couple of problems

2006-10-11 Thread mark
Hi, I have installed solr under a stand alone tomcat5.5 installation. I can see the admin screens etc. When I submit documents I get this error Oct 11, 2006 10:05:44 AM org.apache.solr.core.SolrException logSEVERE: java.lang.NullPointerException at org.apache.solr.update.DocumentBu