RE: Exception in SOLR when querying for fields of type string

2007-11-14 Thread Kasi Sankaralingam
No I do not have a default field defined, how would you do that? Thanks a lot, kasi -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yonik Seeley Sent: Tuesday, November 13, 2007 5:41 PM To: solr-user@lucene.apache.org Subject: Re: Exception in SOLR when

RE: Exception in SOLR when querying for fields of type string

2007-11-13 Thread Stu Hood
The first question is, what version of Solr are you using? Thanks, Stu -Original Message- From: Kasi Sankaralingam [EMAIL PROTECTED] Sent: Tuesday, November 13, 2007 2:27pm To: solr-user@lucene.apache.org solr-user@lucene.apache.org Subject: Exception in SOLR when querying for fields of

RE: Exception in SOLR when querying for fields of type string

2007-11-13 Thread Kasi Sankaralingam
I am using the latest version of solr (1.2) -Original Message- From: Stu Hood [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 13, 2007 11:32 AM To: solr-user@lucene.apache.org Subject: RE: Exception in SOLR when querying for fields of type string The first question is, what version of

Re: Exception in SOLR when querying for fields of type string

2007-11-13 Thread Ryan McKinley
Can you post the full exception? b) Do a query in the SOLR admin tool title_s: photo book Do you have a space after the ':'? q=title_s: photo book I expect that would fail (though null pointer is not a very nice error) q=title_s:photo book should work fine: title_s:photo book

RE: Exception in SOLR when querying for fields of type string

2007-11-13 Thread Kasi Sankaralingam
It is not tokenized, it is a string field, so will it still match photo for field 'title_s' and book for the default field? Here is the exception stack trace: HTTP Status 500 - null java.lang.NullPointerException at org.apache.solr.search.SolrQueryParser.getFieldQuery(SolrQueryParser.java:73)

Re: Exception in SOLR when querying for fields of type string

2007-11-13 Thread Yonik Seeley
On Nov 13, 2007 6:23 PM, Kasi Sankaralingam [EMAIL PROTECTED] wrote: It is not tokenized, it is a string field, so will it still match photo for field 'title_s' and book for the default field? Yes, because the query parser splits up things by whitespace before analyzers are even applied. Do you