at 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: solr-user@lucene.apac
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 mor
solrconfig.xml has this line:
solrpingquery
all
so you'll actually be querying against whatever hour default field
(defined in schema.xml) is, it defaults to "text"..
I claim you could fix this by making "solrpingquery" above into
valid_field:solrpingqu
Most probably something about default field being "text" for
searching. Also, I have a vague feeling that default field somehow is
defined in both schema.xml and solrconfig.xml
Try changing it to something real in all those places.
Regards,
Alex.
Personal blog: http://blog.outerthoughts.com/
L