lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <>
Subject Re: Undefined field text
Date Sun, 09 Sep 2012 19:46:31 GMT
solrconfig.xml has this line:
  <requestHandler name="/admin/ping" class="solr.PingRequestHandler">
    <lst name="invariants">
      <str name="q">solrpingquery</str>
    <lst name="defaults">
      <str name="echoParams">all</str>

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


or making sure your default field in schema.xml is something
actually defined in your schema.....


On Sun, Sep 9, 2012 at 10:55 AM, Alexandre Rafalovitch
<> wrote:
> 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:
> LinkedIn:
> - Time is the quality of nature that keeps events from happening all
> at once. Lately, it doesn't seem to be working.  (Anonymous  - via GTD
> book)
> On Sun, Sep 9, 2012 at 1:14 PM, Spadez <> wrote:
>> Hi,
>> Im trying to do some work on my server but running into problems. When I try
>> to ping the server through the admin panel I get this error, which I believe
>> might be causing the problem:
>> Can anyone give me a bit of guideance as to what might be going wrong? I'm
>> using Solr 3.6. I think it may be to do with the defined "text" in the
>> schema.xml??
>> Any help would be much appreciated.
>> James
>> --
>> View this message in context:
>> Sent from the Solr - User mailing list archive at

View raw message