You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Jed Glazner <jg...@beyondoblivion.com> on 2011/02/03 21:54:13 UTC

HTTP ERROR 400 undefined field: *

Hey Guys,

I was working on an checkout of the 3.x branch from about 6 months ago. 
Everything was working pretty well, but we decided that we should update 
and get what was at the head.  However after upgrading, I am now getting 
this error through the admin:

HTTP ERROR 400 undefined field: *

If I clear the fl parameter (default is set to *, score) then it works 
fine with one big problem, no score data.  If I try and set fl=score I 
get the same error except it says undefined field: score?!

This works great in the older version, what changed?  I've googled for 
about an hour now and I can't seem to find anything.


Jed.

Re: HTTP ERROR 400 undefined field: *

Posted by Jed Glazner <jg...@beyondoblivion.com>.
here is the ticket:
https://issues.apache.org/jira/browse/SOLR-2352

On 02/08/2011 11:27 AM, Jed Glazner wrote:
> So I re-indexed some of the content, but no dice. Per Hoss, I tried
> disabling the TVC and it worked great.  We're not really using tvc right
> now since we made a decision to turn off highlighting for the moment, so
> this isn't a huge deal.  I'll create a new jira issue.
>
> FYI here is my query from the logs:
>
> --this one breaks (undefined field)
> webapp=/solr path=/select
> params={explainOther=&fl=*,score&indent=on&start=0&q=bruce&hl.fl=&qt=standard&wt=standard&fq=&version=2.2&rows=10}
> hits=114 status=400 QTime=21
>
> this one works:
> webapp=/solr path=/select
> params={explainOther=&indent=on&hl.fl=&wt=standard&version=2.2&rows=10&fl=*,score&start=0&q=bruce&tv=false&qt=standard&fq=}
> hits=128 status=0 QTime=48
>
> Though i'm not sure why when the tvc is disabled there are more hits,
> but the qtime is slower.  That's a different issue though, and something
> I can work though.
>
> Thanks for your help.
>
>
>
> On 02/07/2011 11:38 AM, Chris Hostetter wrote:
>> : The stack trace is attached.  I also saw this warning in the logs not sure
>>
>>   From your attachment...
>>
>>    853 SEVERE: org.apache.solr.common.SolrException: undefined field: score
>>    854   at org.apache.solr.handler.component.TermVectorComponent.process(TermVectorComponent.java:142)
>>    855   at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:194)
>>    856   at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
>>    857   at org.apache.solr.core.SolrCore.execute(SolrCore.java:1357)
>>
>> ...this is one of the key pieces of info that was missing from your
>> earlier email: that you are using the TermVectorComponent.
>>
>> It's likely that something changed in the TVC on 3x between the two
>> versions you were using and thta change freaks out now on "*" or "score"
>> in the fl.
>>
>> you still haven't given us an example of the full URLs you are using that
>> trigger this error. (it's posisble there is something slightly off in your
>> syntax - we don't know because you haven't shown us)
>>
>> All in: this sounds like a newly introduced bug in TVC, please post the
>> details into a new Jira issue.
>>
>> as to the warning you asked about...
>>
>> : Feb 3, 2011 8:14:10 PM org.apache.solr.core.Config getLuceneVersion
>> : WARNING: the luceneMatchVersion is not specified, defaulting to LUCENE_24
>> : emulation. You should at some point declare and reindex to at least 3.0,
>> : because 2.4 emulation is deprecated and will be removed in 4.0. This parameter
>> : will be mandatory in 4.0.
>>
>> if you look at the example configs on the 3x branch it should be
>> explained.  it's basically just a new "feature" that lets you specify
>> which "quirks" of the underlying lucene code you want (so on upgrading you
>> are in control of wether you eliminate old quirks or not)
>>
>>
>> -Hoss


Re: HTTP ERROR 400 undefined field: *

Posted by Jed Glazner <jg...@beyondoblivion.com>.
So I re-indexed some of the content, but no dice. Per Hoss, I tried 
disabling the TVC and it worked great.  We're not really using tvc right 
now since we made a decision to turn off highlighting for the moment, so 
this isn't a huge deal.  I'll create a new jira issue.

FYI here is my query from the logs:

--this one breaks (undefined field)
webapp=/solr path=/select 
params={explainOther=&fl=*,score&indent=on&start=0&q=bruce&hl.fl=&qt=standard&wt=standard&fq=&version=2.2&rows=10} 
hits=114 status=400 QTime=21

this one works:
webapp=/solr path=/select 
params={explainOther=&indent=on&hl.fl=&wt=standard&version=2.2&rows=10&fl=*,score&start=0&q=bruce&tv=false&qt=standard&fq=} 
hits=128 status=0 QTime=48

Though i'm not sure why when the tvc is disabled there are more hits, 
but the qtime is slower.  That's a different issue though, and something 
I can work though.

Thanks for your help.



On 02/07/2011 11:38 AM, Chris Hostetter wrote:
> : The stack trace is attached.  I also saw this warning in the logs not sure
>
>  From your attachment...
>
>   853 SEVERE: org.apache.solr.common.SolrException: undefined field: score
>   854   at org.apache.solr.handler.component.TermVectorComponent.process(TermVectorComponent.java:142)
>   855   at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:194)
>   856   at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
>   857   at org.apache.solr.core.SolrCore.execute(SolrCore.java:1357)
>
> ...this is one of the key pieces of info that was missing from your
> earlier email: that you are using the TermVectorComponent.
>
> It's likely that something changed in the TVC on 3x between the two
> versions you were using and thta change freaks out now on "*" or "score"
> in the fl.
>
> you still haven't given us an example of the full URLs you are using that
> trigger this error. (it's posisble there is something slightly off in your
> syntax - we don't know because you haven't shown us)
>
> All in: this sounds like a newly introduced bug in TVC, please post the
> details into a new Jira issue.
>
> as to the warning you asked about...
>
> : Feb 3, 2011 8:14:10 PM org.apache.solr.core.Config getLuceneVersion
> : WARNING: the luceneMatchVersion is not specified, defaulting to LUCENE_24
> : emulation. You should at some point declare and reindex to at least 3.0,
> : because 2.4 emulation is deprecated and will be removed in 4.0. This parameter
> : will be mandatory in 4.0.
>
> if you look at the example configs on the 3x branch it should be
> explained.  it's basically just a new "feature" that lets you specify
> which "quirks" of the underlying lucene code you want (so on upgrading you
> are in control of wether you eliminate old quirks or not)
>
>
> -Hoss


Re: HTTP ERROR 400 undefined field: *

Posted by Chris Hostetter <ho...@fucit.org>.
: The stack trace is attached.  I also saw this warning in the logs not sure

>From your attachment...

 853 SEVERE: org.apache.solr.common.SolrException: undefined field: score
 854   at org.apache.solr.handler.component.TermVectorComponent.process(TermVectorComponent.java:142)
 855   at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:194)
 856   at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
 857   at org.apache.solr.core.SolrCore.execute(SolrCore.java:1357)

...this is one of the key pieces of info that was missing from your 
earlier email: that you are using the TermVectorComponent.

It's likely that something changed in the TVC on 3x between the two 
versions you were using and thta change freaks out now on "*" or "score" 
in the fl. 

you still haven't given us an example of the full URLs you are using that 
trigger this error. (it's posisble there is something slightly off in your 
syntax - we don't know because you haven't shown us)

All in: this sounds like a newly introduced bug in TVC, please post the 
details into a new Jira issue.

as to the warning you asked about...

: Feb 3, 2011 8:14:10 PM org.apache.solr.core.Config getLuceneVersion
: WARNING: the luceneMatchVersion is not specified, defaulting to LUCENE_24
: emulation. You should at some point declare and reindex to at least 3.0,
: because 2.4 emulation is deprecated and will be removed in 4.0. This parameter
: will be mandatory in 4.0.

if you look at the example configs on the 3x branch it should be 
explained.  it's basically just a new "feature" that lets you specify 
which "quirks" of the underlying lucene code you want (so on upgrading you 
are in control of wether you eliminate old quirks or not)


-Hoss

Re: HTTP ERROR 400 undefined field: *

Posted by Jed Glazner <jg...@beyondoblivion.com>.
Thanks Otis,

I'll give that a try.

Jed.

On 02/06/2011 08:06 PM, Otis Gospodnetic wrote:
> Yup, here it is, warning about needing to reindex:
>
> http://twitter.com/#!/lucene/status/28694113180192768
>
> Otis
> ----
> Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
> Lucene ecosystem search :: http://search-lucene.com/
>
>
>
> ----- Original Message ----
>> From: Erick Erickson<er...@gmail.com>
>> To: solr-user@lucene.apache.org
>> Sent: Sun, February 6, 2011 9:43:00 AM
>> Subject: Re: HTTP ERROR 400 undefined field: *
>>
>> I *think* that there was a post a while ago saying that if you were
>> using  trunk 3_x one of the recent changes required re-indexing, but don't
>> quote me  on that.
>> Have you tried that?
>>
>> Best
>> Erick
>>
>> On Fri, Feb 4, 2011  at 2:04 PM, Jed Glazner
>> <jg...@beyondoblivion.com>wrote:
>>
>>>   Sorry for the lack of details.
>>>
>>> It's all clear in my head..  :)
>>>
>>> We checked out the head revision from the 3.x branch a few  weeks ago (
>>> https://svn.apache.org/repos/asf/lucene/dev/branches/branch_3x/).  We
>>> picked up r1058326.
>>>
>>> We upgraded from a previous  checkout (r960098). I am using our customized
>>> schema.xml and the  solrconfig.xml from the old revision with the new
>>>   checkout.
>>>
>>> After upgrading I just copied the data folders from  each core into the new
>>> checkout (hoping I wouldn't have to re-index the  content, as this takes
>>> days).  Everything seems to work fine,  except that now I can't get the
> score
>>> to return.
>>>
>>> The  stack trace is attached.  I also saw this warning in the logs not  sure
>>> exactly what it's talking about:
>>>
>>> Feb 3, 2011  8:14:10 PM org.apache.solr.core.Config getLuceneVersion
>>> WARNING: the  luceneMatchVersion is not specified, defaulting to LUCENE_24
>>> emulation.  You should at some point declare and reindex to at least 3.0,
>>> because  2.4 emulation is deprecated and will be removed in 4.0. This
>>> parameter  will be mandatory in 4.0.
>>>
>>> Here is my request handler, the actual  fields here are different than what
>>> is in mine, but I'm a little  uncomfortable publishing how our companies
>>> search service works to the  world:
>>>
>>> <requestHandler name="standard"  class="solr.SearchHandler" default="true">
>>> <lst  name="defaults">
>>> <str  name="echoParams">explicit</str>
>>> <str  name="defType">edismax</str>
>>> <bool  name="tv">true</bool>
>>> <!-- standard field to query on  -->
>>> <str name="qf">field_a^2 field_b^2 field_c^4</str>
>>>
>>> <!-- automatic phrase boosting! -->
>>>   <str name="pf">field_d^10</str>
>>>
>>> <!-- boost  function -->
>>> <!--
>>>                  we'll comment this out for now becuase we're passing it to
>>>   solr as a paramter.
>>>                  Once we finalize the exact function we should move it here
>>> and  take it out of the
>>>                  query string.
>>>              -->
>>> <!--<str  name="bf">log(linear(field_e,0.001,1))^10</str>-->
>>> <str  name="tie">0.1</str>
>>> </lst>
>>> <arr  name="last-components">
>>> <str>tvComponent</str>
>>>   </arr>
>>> </requestHandler>
>>>
>>> Anyway   Hopefully this is enough info, let me know if you need more.
>>>
>>>   Jed.
>>>
>>>
>>>
>>>
>>>
>>>
>>> On 02/03/2011 10:29  PM, Chris Hostetter wrote:
>>>
>>>> : I was working on an checkout of  the 3.x branch from about 6 months ago.
>>>> : Everything was working  pretty well, but we decided that we should update
>>>> and
>>>> :  get what was at the head.  However after upgrading, I am now  getting
>>>> this
>>>>
>>>> FWIW: please be specific.   "head" of what? the 3x branch? or trunk?  what
>>>> revision in svn  does that corrispond to? (the "svnversion" command will
>>>> tell  you)
>>>>
>>>> : HTTP ERROR 400 undefined field: *
>>>>   :
>>>> : If I clear the fl parameter (default is set to *, score) then it  works
>>>> fine
>>>> : with one big problem, no score data.   If I try and set fl=score I get
>>>> the same
>>>> : error except  it says undefined field: score?!
>>>> :
>>>> : This works great in  the older version, what changed?  I've googled for
>>>>   about
>>>> : an hour now and I can't seem to find  anything.
>>>>
>>>> i can't reproduce this using either trunk  (r1067044) or 3x (r1067045)
>>>>
>>>> all of these queries work  just fine...
>>>>
>>>>         http://localhost:8983/solr/select/?q=*
>>>>          http://localhost:8983/solr/select/?q=solr&fl=*,score
>>>>          http://localhost:8983/solr/select/?q=solr&fl=score
>>>>          http://localhost:8983/solr/select/?q=solr
>>>>
>>>> ...you'll  have to proivde us with a *lot* more details to help understand
>>>> why  you might be getting an error (like: what your configs look like,
> what
>>>> the request looks like, what the full stack trace of your error  is in the
>>>> logs,  etc...)
>>>>
>>>>
>>>>
>>>>
>>>>   -Hoss
>>>>
>>>


Re: HTTP ERROR 400 undefined field: *

Posted by Otis Gospodnetic <ot...@yahoo.com>.
Yup, here it is, warning about needing to reindex:

http://twitter.com/#!/lucene/status/28694113180192768

Otis
----
Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
Lucene ecosystem search :: http://search-lucene.com/



----- Original Message ----
> From: Erick Erickson <er...@gmail.com>
> To: solr-user@lucene.apache.org
> Sent: Sun, February 6, 2011 9:43:00 AM
> Subject: Re: HTTP ERROR 400 undefined field: *
> 
> I *think* that there was a post a while ago saying that if you were
> using  trunk 3_x one of the recent changes required re-indexing, but don't
> quote me  on that.
> Have you tried that?
> 
> Best
> Erick
> 
> On Fri, Feb 4, 2011  at 2:04 PM, Jed Glazner 
><jg...@beyondoblivion.com>wrote:
> 
> >  Sorry for the lack of details.
> >
> > It's all clear in my head..  :)
> >
> > We checked out the head revision from the 3.x branch a few  weeks ago (
> > https://svn.apache.org/repos/asf/lucene/dev/branches/branch_3x/).  We
> > picked up r1058326.
> >
> > We upgraded from a previous  checkout (r960098). I am using our customized
> > schema.xml and the  solrconfig.xml from the old revision with the new
> >  checkout.
> >
> > After upgrading I just copied the data folders from  each core into the new
> > checkout (hoping I wouldn't have to re-index the  content, as this takes
> > days).  Everything seems to work fine,  except that now I can't get the 
score
> > to return.
> >
> > The  stack trace is attached.  I also saw this warning in the logs not  sure
> > exactly what it's talking about:
> >
> > Feb 3, 2011  8:14:10 PM org.apache.solr.core.Config getLuceneVersion
> > WARNING: the  luceneMatchVersion is not specified, defaulting to LUCENE_24
> > emulation.  You should at some point declare and reindex to at least 3.0,
> > because  2.4 emulation is deprecated and will be removed in 4.0. This
> > parameter  will be mandatory in 4.0.
> >
> > Here is my request handler, the actual  fields here are different than what
> > is in mine, but I'm a little  uncomfortable publishing how our companies
> > search service works to the  world:
> >
> > <requestHandler name="standard"  class="solr.SearchHandler" default="true">
> > <lst  name="defaults">
> > <str  name="echoParams">explicit</str>
> > <str  name="defType">edismax</str>
> > <bool  name="tv">true</bool>
> > <!-- standard field to query on  -->
> > <str name="qf">field_a^2 field_b^2 field_c^4  </str>
> >
> > <!-- automatic phrase boosting! -->
> >  <str name="pf">field_d^10</str>
> >
> > <!-- boost  function -->
> > <!--
> >                 we'll comment this out for now becuase we're passing it to
> >  solr as a paramter.
> >                 Once we finalize the exact function we should move it here
> > and  take it out of the
> >                 query string.
> >             -->
> > <!--<str  name="bf">log(linear(field_e,0.001,1))^10</str>-->
> > <str  name="tie">0.1</str>
> > </lst>
> > <arr  name="last-components">
> > <str>tvComponent</str>
> >  </arr>
> > </requestHandler>
> >
> > Anyway   Hopefully this is enough info, let me know if you need more.
> >
> >  Jed.
> >
> >
> >
> >
> >
> >
> > On 02/03/2011 10:29  PM, Chris Hostetter wrote:
> >
> >> : I was working on an checkout of  the 3.x branch from about 6 months ago.
> >> : Everything was working  pretty well, but we decided that we should update
> >> and
> >> :  get what was at the head.  However after upgrading, I am now  getting
> >> this
> >>
> >> FWIW: please be specific.   "head" of what? the 3x branch? or trunk?  what
> >> revision in svn  does that corrispond to? (the "svnversion" command will
> >> tell  you)
> >>
> >> : HTTP ERROR 400 undefined field: *
> >>  :
> >> : If I clear the fl parameter (default is set to *, score) then it  works
> >> fine
> >> : with one big problem, no score data.   If I try and set fl=score I get
> >> the same
> >> : error except  it says undefined field: score?!
> >> :
> >> : This works great in  the older version, what changed?  I've googled for
> >>  about
> >> : an hour now and I can't seem to find  anything.
> >>
> >> i can't reproduce this using either trunk  (r1067044) or 3x (r1067045)
> >>
> >> all of these queries work  just fine...
> >>
> >>        http://localhost:8983/solr/select/?q=*
> >>         http://localhost:8983/solr/select/?q=solr&fl=*,score
> >>         http://localhost:8983/solr/select/?q=solr&fl=score
> >>         http://localhost:8983/solr/select/?q=solr
> >>
> >> ...you'll  have to proivde us with a *lot* more details to help understand
> >> why  you might be getting an error (like: what your configs look like,  
what
> >> the request looks like, what the full stack trace of your error  is in the
> >> logs,  etc...)
> >>
> >>
> >>
> >>
> >>  -Hoss
> >>
> >
> >
> 

Re: HTTP ERROR 400 undefined field: *

Posted by Erick Erickson <er...@gmail.com>.
I *think* that there was a post a while ago saying that if you were
using trunk 3_x one of the recent changes required re-indexing, but don't
quote me on that.
Have you tried that?

Best
Erick

On Fri, Feb 4, 2011 at 2:04 PM, Jed Glazner <jg...@beyondoblivion.com>wrote:

> Sorry for the lack of details.
>
> It's all clear in my head.. :)
>
> We checked out the head revision from the 3.x branch a few weeks ago (
> https://svn.apache.org/repos/asf/lucene/dev/branches/branch_3x/). We
> picked up r1058326.
>
> We upgraded from a previous checkout (r960098). I am using our customized
> schema.xml and the solrconfig.xml from the old revision with the new
> checkout.
>
> After upgrading I just copied the data folders from each core into the new
> checkout (hoping I wouldn't have to re-index the content, as this takes
> days).  Everything seems to work fine, except that now I can't get the score
> to return.
>
> The stack trace is attached.  I also saw this warning in the logs not sure
> exactly what it's talking about:
>
> Feb 3, 2011 8:14:10 PM org.apache.solr.core.Config getLuceneVersion
> WARNING: the luceneMatchVersion is not specified, defaulting to LUCENE_24
> emulation. You should at some point declare and reindex to at least 3.0,
> because 2.4 emulation is deprecated and will be removed in 4.0. This
> parameter will be mandatory in 4.0.
>
> Here is my request handler, the actual fields here are different than what
> is in mine, but I'm a little uncomfortable publishing how our companies
> search service works to the world:
>
> <requestHandler name="standard" class="solr.SearchHandler" default="true">
> <lst name="defaults">
> <str name="echoParams">explicit</str>
> <str name="defType">edismax</str>
> <bool name="tv">true</bool>
> <!-- standard field to query on -->
> <str name="qf">field_a^2 field_b^2 field_c^4 </str>
>
> <!-- automatic phrase boosting! -->
> <str name="pf">field_d^10</str>
>
> <!-- boost function -->
> <!--
>                we'll comment this out for now becuase we're passing it to
> solr as a paramter.
>                Once we finalize the exact function we should move it here
> and take it out of the
>                query string.
>            -->
> <!--<str name="bf">log(linear(field_e,0.001,1))^10</str>-->
> <str name="tie">0.1</str>
> </lst>
> <arr name="last-components">
> <str>tvComponent</str>
> </arr>
> </requestHandler>
>
> Anyway  Hopefully this is enough info, let me know if you need more.
>
> Jed.
>
>
>
>
>
>
> On 02/03/2011 10:29 PM, Chris Hostetter wrote:
>
>> : I was working on an checkout of the 3.x branch from about 6 months ago.
>> : Everything was working pretty well, but we decided that we should update
>> and
>> : get what was at the head.  However after upgrading, I am now getting
>> this
>>
>> FWIW: please be specific.  "head" of what? the 3x branch? or trunk?  what
>> revision in svn does that corrispond to? (the "svnversion" command will
>> tell you)
>>
>> : HTTP ERROR 400 undefined field: *
>> :
>> : If I clear the fl parameter (default is set to *, score) then it works
>> fine
>> : with one big problem, no score data.  If I try and set fl=score I get
>> the same
>> : error except it says undefined field: score?!
>> :
>> : This works great in the older version, what changed?  I've googled for
>> about
>> : an hour now and I can't seem to find anything.
>>
>> i can't reproduce this using either trunk (r1067044) or 3x (r1067045)
>>
>> all of these queries work just fine...
>>
>>        http://localhost:8983/solr/select/?q=*
>>        http://localhost:8983/solr/select/?q=solr&fl=*,score
>>        http://localhost:8983/solr/select/?q=solr&fl=score
>>        http://localhost:8983/solr/select/?q=solr
>>
>> ...you'll have to proivde us with a *lot* more details to help understand
>> why you might be getting an error (like: what your configs look like, what
>> the request looks like, what the full stack trace of your error is in the
>> logs, etc...)
>>
>>
>>
>>
>> -Hoss
>>
>
>

Re: HTTP ERROR 400 undefined field: *

Posted by Jed Glazner <jg...@beyondoblivion.com>.
Sorry for the lack of details.

It's all clear in my head.. :)

We checked out the head revision from the 3.x branch a few weeks ago 
(https://svn.apache.org/repos/asf/lucene/dev/branches/branch_3x/). We 
picked up r1058326.

We upgraded from a previous checkout (r960098). I am using our 
customized schema.xml and the solrconfig.xml from the old revision with 
the new checkout.

After upgrading I just copied the data folders from each core into the 
new checkout (hoping I wouldn't have to re-index the content, as this 
takes days).  Everything seems to work fine, except that now I can't get 
the score to return.

The stack trace is attached.  I also saw this warning in the logs not 
sure exactly what it's talking about:

Feb 3, 2011 8:14:10 PM org.apache.solr.core.Config getLuceneVersion
WARNING: the luceneMatchVersion is not specified, defaulting to 
LUCENE_24 emulation. You should at some point declare and reindex to at 
least 3.0, because 2.4 emulation is deprecated and will be removed in 
4.0. This parameter will be mandatory in 4.0.

Here is my request handler, the actual fields here are different than 
what is in mine, but I'm a little uncomfortable publishing how our 
companies search service works to the world:

<requestHandler name="standard" class="solr.SearchHandler" default="true">
<lst name="defaults">
<str name="echoParams">explicit</str>
<str name="defType">edismax</str>
<bool name="tv">true</bool>
<!-- standard field to query on -->
<str name="qf">field_a^2 field_b^2 field_c^4 </str>

<!-- automatic phrase boosting! -->
<str name="pf">field_d^10</str>

<!-- boost function -->
<!--
                 we'll comment this out for now becuase we're passing it 
to solr as a paramter.
                 Once we finalize the exact function we should move it 
here and take it out of the
                 query string.
             -->
<!--<str name="bf">log(linear(field_e,0.001,1))^10</str>-->
<str name="tie">0.1</str>
</lst>
<arr name="last-components">
<str>tvComponent</str>
</arr>
</requestHandler>

Anyway  Hopefully this is enough info, let me know if you need more.

Jed.





On 02/03/2011 10:29 PM, Chris Hostetter wrote:
> : I was working on an checkout of the 3.x branch from about 6 months ago.
> : Everything was working pretty well, but we decided that we should update and
> : get what was at the head.  However after upgrading, I am now getting this
>
> FWIW: please be specific.  "head" of what? the 3x branch? or trunk?  what
> revision in svn does that corrispond to? (the "svnversion" command will
> tell you)
>
> : HTTP ERROR 400 undefined field: *
> :
> : If I clear the fl parameter (default is set to *, score) then it works fine
> : with one big problem, no score data.  If I try and set fl=score I get the same
> : error except it says undefined field: score?!
> :
> : This works great in the older version, what changed?  I've googled for about
> : an hour now and I can't seem to find anything.
>
> i can't reproduce this using either trunk (r1067044) or 3x (r1067045)
>
> all of these queries work just fine...
>
> 	http://localhost:8983/solr/select/?q=*
> 	http://localhost:8983/solr/select/?q=solr&fl=*,score
> 	http://localhost:8983/solr/select/?q=solr&fl=score
> 	http://localhost:8983/solr/select/?q=solr
>
> ...you'll have to proivde us with a *lot* more details to help understand
> why you might be getting an error (like: what your configs look like, what
> the request looks like, what the full stack trace of your error is in the
> logs, etc...)
>
>
>
>
> -Hoss


Re: HTTP ERROR 400 undefined field: *

Posted by Chris Hostetter <ho...@fucit.org>.
: I was working on an checkout of the 3.x branch from about 6 months ago.
: Everything was working pretty well, but we decided that we should update and
: get what was at the head.  However after upgrading, I am now getting this

FWIW: please be specific.  "head" of what? the 3x branch? or trunk?  what 
revision in svn does that corrispond to? (the "svnversion" command will 
tell you)

: HTTP ERROR 400 undefined field: *
: 
: If I clear the fl parameter (default is set to *, score) then it works fine
: with one big problem, no score data.  If I try and set fl=score I get the same
: error except it says undefined field: score?!
: 
: This works great in the older version, what changed?  I've googled for about
: an hour now and I can't seem to find anything.

i can't reproduce this using either trunk (r1067044) or 3x (r1067045)

all of these queries work just fine...

	http://localhost:8983/solr/select/?q=*
	http://localhost:8983/solr/select/?q=solr&fl=*,score
	http://localhost:8983/solr/select/?q=solr&fl=score
	http://localhost:8983/solr/select/?q=solr

...you'll have to proivde us with a *lot* more details to help understand 
why you might be getting an error (like: what your configs look like, what 
the request looks like, what the full stack trace of your error is in the 
logs, etc...)




-Hoss

Re: HTTP ERROR 400 undefined field: *

Posted by Grijesh <pi...@gmail.com>.
How you have upgraded ?
are you changed every thing all jars ,data,config 
or any thing using from older version?

-----
Thanx:
Grijesh
http://lucidimagination.com
-- 
View this message in context: http://lucene.472066.n3.nabble.com/HTTP-ERROR-400-undefined-field-tp2417938p2421569.html
Sent from the Solr - User mailing list archive at Nabble.com.