lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dotan Cohen <>
Subject Re: After adding field to schema, the field is not being returned in results.
Date Thu, 01 Nov 2012 01:54:47 GMT
On Thu, Nov 1, 2012 at 2:52 AM, Otis Gospodnetic
<> wrote:
> Hi,
> That should work just fine.  It;s either a bug or you are doing something
> you didn't mention.  Maybe you can provide a small, self-enclosed unit test
> and stick it in JIRA?

I would assume that it's me doing something wrong! How does this look:


  <lst name="responseHeader">
    <int name="status">0</int>
    <int name="QTime">1</int>
    <lst name="params">
      <str name="q">*:*</str>
      <str name="rows">1</str>
      <str name="fl">created_iso8601,created</str>
  <result name="response" numFound="1037937" start="0">
      <int name="created">1350854389</int>

Surely the sort parameter would throw an error if the
created_iso8601field did not exist. That field is indexed and stored,
with no parameters defined on handlers that may list the fields to
return as Alexandre had mentioned.

Dotan Cohen

View raw message