Look in solrconfig.xml for all occurrences of the "<str
name="df">text</str>" default request parameter. It probably has a value of
"text". Change it to "description" or "title" or "company" or
"location_name" or any other field that you want to search by default.
Or if you are using the edismax query parser, modify the "qf" default value
to use only fields that you have in your schema.
-- Jack Krupansky
-----Original Message-----
From: Spadez
Sent: Monday, September 10, 2012 4:21 AM
To: [email protected]
Subject: Re: Undefined field text
I am sorry to come across as a bit simple, but I would rather fix this by
making sure my default field in my schema.xml is defined, but I cant
determine where my default field is within my schema.xml
I've put it up on here:
https://gist.github.com/3689621
Would anyone be able to give me a bit more information?
--
View this message in context:
http://lucene.472066.n3.nabble.com/Undefined-field-text-tp4006455p4006551.html
Sent from the Solr - User mailing list archive at Nabble.com.