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
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
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
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
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)
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