In scheme.XML in your example/solr/conf folder look for
<defaultSearchfield>[text]</defaultSearchField>
[text] is the field you'll want to be the default field.
You'll have to restart Solr to make the change take affect
Bangordailynews.com New Media
On Nov 14, 2007, at 4:29 PM, Kasi Sankaralingam <[EMAIL PROTECTED]>
wrote:
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 querying for fields of type string
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 have a default field defined?
-Yonik