Re: host logging options (was Re: Schema validator/debugger)

2007-06-08 Thread Chris Hostetter
: > SEVERE: org.apache.solr.core.SolrException: undefined field text : As someone who has used both Jetty and Tomcat in production (and has : come to prefer Tomcat), what are my choices to get the "undefined field : xxx" error in the catalina log files (or is it stashed somewhere I'm : overlooking

host logging options (was Re: Schema validator/debugger)

2007-06-07 Thread Walter Lewis
Andrew Nagy wrote: Yonik Seeley wrote: I dropped your schema.xml directly into the Solr example (using Jetty), fired it up, and everything works fine!? Okay, I switched over to Jetty and now I get a different error: SEVERE: org.apache.solr.core.SolrException: undefined field text As someone wh

Re: Schema validator/debugger

2007-04-13 Thread Andrew Nagy
Yonik Seeley wrote: Oh wait... Andrew, were you always testing via "ping"? Check out what the ping query is configured as in solrconfig.xml: qt=dismax&q=solr&start=3&fq=id:[* TO *]&fq=cat:[* TO *] Perhaps we should change it to something simple by default??? "q=solr"? That solv

Re: Schema validator/debugger

2007-04-12 Thread Chris Hostetter
: : qt=dismax&q=solr&start=3&fq=id:[* TO *]&fq=cat:[* TO *] : : : Perhaps we should change it to something simple by default??? "q=solr"? looking back at the log, i made it something complicated to demonstrate the odd format requirements (similar to a URL ... but without URL escap

Re: Schema validator/debugger

2007-04-12 Thread Yonik Seeley
Oh wait... Andrew, were you always testing via "ping"? Check out what the ping query is configured as in solrconfig.xml: qt=dismax&q=solr&start=3&fq=id:[* TO *]&fq=cat:[* TO *] Perhaps we should change it to something simple by default??? "q=solr"? That solves the Jetty failure my

Re: Schema validator/debugger

2007-04-12 Thread Chris Hostetter
: Ahhh, are you using the dismax handler? I was using the standard : request handler with a simple query "solr" That would explain the "SolrException: undefined field text" he got using Jetty, but not the orriginal NullPointerException. that still worries me -Hoss

Re: Schema validator/debugger

2007-04-12 Thread Andrew Nagy
Ryan McKinley wrote: With a clean checkout, you can run: $ ant example $ cd example $ java -jar start.jar and things work OK. But, when you delete all but the two fields, you get an exception somewhere? Well, I was working from my own directory, not the example directory. I can give that a t

Re: Schema validator/debugger

2007-04-12 Thread Yonik Seeley
On 4/12/07, Andrew Nagy <[EMAIL PROTECTED]> wrote: Yonik Seeley wrote: > I dropped your schema.xml directly into the Solr example (using > Jetty), fired it up, and everything works fine!? Okay, I switched over to Jetty and now I get a different error: SEVERE: org.apache.solr.core.SolrException: u

Re: Schema validator/debugger

2007-04-12 Thread Ryan McKinley
With a clean checkout, you can run: $ ant example $ cd example $ java -jar start.jar and things work OK. But, when you delete all but the two fields, you get an exception somewhere? On 4/12/07, Andrew Nagy <[EMAIL PROTECTED]> wrote: Yonik Seeley wrote: > I dropped your schema.xml directly int

Re: Schema validator/debugger

2007-04-12 Thread Andrew Nagy
Yonik Seeley wrote: I dropped your schema.xml directly into the Solr example (using Jetty), fired it up, and everything works fine!? Okay, I switched over to Jetty and now I get a different error: SEVERE: org.apache.solr.core.SolrException: undefined field text Are you sure you are using the s

Re: Schema validator/debugger

2007-04-12 Thread Yonik Seeley
I dropped your schema.xml directly into the Solr example (using Jetty), fired it up, and everything works fine!? Are you sure you are using the stock solrconfig.xml, etc? -Yonik On 4/12/07, Andrew Nagy <[EMAIL PROTECTED]> wrote: So maybe I am doing something really dumb, but for testing purpos

Re: Schema validator/debugger

2007-04-12 Thread Andrew Nagy
So maybe I am doing something really dumb, but for testing purposes I took a copy of the example schema.xml file and removed all of the fields except for 2 to start with something really basic and it is throwing the nullpointerexception again. I attached the file if it is of any help I am usi

Re: Schema validator/debugger

2007-04-12 Thread Otis Gospodnetic
Re Jetty 6.1 becoming stable - it's getting there. I'm on the ML and see fewer bugs reported. They are on 6.1.2rc3 I believe. Otis - Original Message From: Yonik Seeley <[EMAIL PROTECTED]> > Then everything could work with only a JRE - AFAIK, all of the newest servlet containers ca

Re: Schema validator/debugger

2007-04-11 Thread Yonik Seeley
On 4/11/07, Ryan McKinley <[EMAIL PROTECTED]> wrote: > Off topic a bit, Has anyone set forth to build a new admin interface for > SOLR? I build a lot of admin interfaces for my day job and would love > to give the admin module a bit of a tune-up (I won't use the term overhaul). i think we defin

Re: Schema validator/debugger

2007-04-11 Thread Andrew Nagy
Ryan McKinley wrote: Off topic a bit, Has anyone set forth to build a new admin interface for SOLR? I build a lot of admin interfaces for my day job and would love to give the admin module a bit of a tune-up (I won't use the term overhaul). i think we definitely need an updated admin inter

Re: Schema validator/debugger

2007-04-11 Thread Ryan McKinley
Would it help if I posted my schema file? yes

Re: Schema validator/debugger

2007-04-11 Thread Andrew Nagy
Yonik Seeley wrote: On 4/11/07, Andrew Nagy <[EMAIL PROTECTED]> wrote: > If the example schema.xml works, can you try adding a little bit of > your schema at a time? Yeah, that is my last resort. I guess I have no choice! That certainly is strange... Sounds like you definitely hit some sort o

Re: Schema validator/debugger

2007-04-11 Thread Ryan McKinley
Off topic a bit, Has anyone set forth to build a new admin interface for SOLR? I build a lot of admin interfaces for my day job and would love to give the admin module a bit of a tune-up (I won't use the term overhaul). i think we definitely need an updated admin interface, yes! Ideally, we

Re: Schema validator/debugger

2007-04-11 Thread Andrew Nagy
Andrew Nagy wrote: Ryan McKinley wrote: If the example schema.xml works, can you try adding a little bit of your schema at a time? Yeah, that is my last resort. I guess I have no choice! So I did this, and I ended up removing all of my fields and copyfields with still no luck. I took a fresh

Re: Schema validator/debugger

2007-04-11 Thread Andrew Nagy
Greg Ludington wrote: I just installed SOLR-75 patch and the "schema browser" is able to view the schema perfectly. When I used the default schema with SOLR, everything is fine, but when I replace my schema ... it's throws this NullPointerException One thing to note is that the "schema br

Re: Schema validator/debugger

2007-04-11 Thread Greg Ludington
I just installed SOLR-75 patch and the "schema browser" is able to view the schema perfectly. When I used the default schema with SOLR, everything is fine, but when I replace my schema ... it's throws this NullPointerException One thing to note is that the "schema browser" as currently in

Re: Schema validator/debugger

2007-04-11 Thread Yonik Seeley
On 4/11/07, Andrew Nagy <[EMAIL PROTECTED]> wrote: > If the example schema.xml works, can you try adding a little bit of > your schema at a time? Yeah, that is my last resort. I guess I have no choice! That certainly is strange... Sounds like you definitely hit some sort of Solr bug, but I don

Re: Schema validator/debugger

2007-04-11 Thread Andrew Nagy
Ryan McKinley wrote: Are you using the example solrconfig.xml? The stack trace looks like an error finding the solr.home index directory, that is configured in solrconfig.xml, not schema.xml Yeah, I noticed that too ... but I don't understand why it can't find the home. I have the data home se

Re: Schema validator/debugger

2007-04-11 Thread Ryan McKinley
Are you using the example solrconfig.xml? The stack trace looks like an error finding the solr.home index directory, that is configured in solrconfig.xml, not schema.xml If the example schema.xml works, can you try adding a little bit of your schema at a time? On 4/11/07, Andrew Nagy <[EMAIL

Re: Schema validator/debugger

2007-04-11 Thread Andrew Nagy
Andrew Nagy wrote: Ryan McKinley wrote: What errors are you getting? Are there exceptions in the log when it starts up? Just a null pointer exception. I added a few fields to my schema, and then replaced my solr war file with the latest build (see my message from a week ago). It wouldn't w

Re: Schema validator/debugger

2007-04-10 Thread Andrew Nagy
Ryan McKinley wrote: What errors are you getting? Are there exceptions in the log when it starts up? Just a null pointer exception. I added a few fields to my schema, and then replaced my solr war file with the latest build (see my message from a week ago). It wouldn't work, so I assumed so

Re: Schema validator/debugger

2007-04-10 Thread Ryan McKinley
What errors are you getting? Are there exceptions in the log when it starts up? On 4/10/07, Andrew Nagy <[EMAIL PROTECTED]> wrote: Does anyone have a good method of debugging a schema? I have been struggling to get my new schema to run for the past couple of days and just do not see anything wr

Schema validator/debugger

2007-04-10 Thread Andrew Nagy
Does anyone have a good method of debugging a schema? I have been struggling to get my new schema to run for the past couple of days and just do not see anything wrong with the XML document. Thanks Andrew