Re: After adding field to schema, the field is not being returned in results.

2015-01-27 Thread Carl Roberts
I too am running into what appears to be the same thing. Everything works and data is imported but I cannot see the new field in the result.

Re: After adding field to schema, the field is not being returned in results.

2015-01-27 Thread Alexandre Rafalovitch
If you can index stuff into a new schema for test, try defining one with dynamicField name=* stored=true indexed=true type=string. Your schema may have one like this commented out and/or set to false. This would show you exactly what you are indexing and solve whether you have any spelling or

Re: After adding field to schema, the field is not being returned in results.

2012-11-04 Thread Dotan Cohen
On Fri, Nov 2, 2012 at 4:32 PM, Erick Erickson erickerick...@gmail.com wrote: Well, I'm at my wits end. I tried your field definitions (using the exampledocs XML) and they work just fine. As far as if you mess up the date on the way in, you should be seeing stack traces in your log files.

Re: After adding field to schema, the field is not being returned in results.

2012-11-04 Thread Dotan Cohen
On Sat, Nov 3, 2012 at 4:23 AM, Lance Norskog goks...@gmail.com wrote: If any value is in a bogus format, the entire document batch in that HTTP request fails. That is the right timestamp format. The index may be corrupted somehow. Can you try removing all of the fields in data/ and trying

Re: After adding field to schema, the field is not being returned in results.

2012-11-02 Thread Dotan Cohen
On Thu, Nov 1, 2012 at 9:09 PM, Erick Erickson erickerick...@gmail.com wrote: What happens if you sort ascending rather than descending? Depending on what (if anything) you've done with sortMissingFirst/Last on that field, it's possible that you're just seeing the results of the sort and docs

Re: After adding field to schema, the field is not being returned in results.

2012-11-02 Thread Dotan Cohen
On Thu, Nov 1, 2012 at 9:28 PM, Lance Norskog goks...@gmail.com wrote: Have you uploaded data with that field populated? Solr is not like a relational database. It does not automatically populate a new field when you add it to the schema. If you sort on a field, a document with no data in

Re: After adding field to schema, the field is not being returned in results.

2012-11-02 Thread Erick Erickson
Well, I'm at my wits end. I tried your field definitions (using the exampledocs XML) and they work just fine. As far as if you mess up the date on the way in, you should be seeing stack traces in your log files. The only way I see not getting the Sorry, no Term Info available :( message is if you

Re: After adding field to schema, the field is not being returned in results.

2012-11-02 Thread Lance Norskog
If any value is in a bogus format, the entire document batch in that HTTP request fails. That is the right timestamp format. The index may be corrupted somehow. Can you try removing all of the fields in data/ and trying again? - Original Message - | From: Erick Erickson

Re: After adding field to schema, the field is not being returned in results.

2012-11-01 Thread Erick Erickson
I'd try several things 1 just because you an sort has nothing to do with whether the field is returned. Sorting uses the indexed data, returning it is the stored data. So it's a bit of a red herring when you can sort on a field but not see it, although it is a good test that your schema knows

Re: After adding field to schema, the field is not being returned in results.

2012-11-01 Thread Dotan Cohen
On Thu, Nov 1, 2012 at 3:00 PM, Erick Erickson erickerick...@gmail.com wrote: I'd try several things 1 just because you an sort has nothing to do with whether the field is returned. Sorting uses the indexed data, returning it is the stored data. So it's a bit of a red herring when you can

Re: After adding field to schema, the field is not being returned in results.

2012-11-01 Thread Erick Erickson
What happens if you sort ascending rather than descending? Depending on what (if anything) you've done with sortMissingFirst/Last on that field, it's possible that you're just seeing the results of the sort and docs with your new field are somewhere down the list. If you've done nothing, you

Re: After adding field to schema, the field is not being returned in results.

2012-11-01 Thread Lance Norskog
Have you uploaded data with that field populated? Solr is not like a relational database. It does not automatically populate a new field when you add it to the schema. If you sort on a field, a document with no data in that field comes first or last (I don't know which). - Original

Re: After adding field to schema, the field is not being returned in results.

2012-10-31 Thread Otis Gospodnetic
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? Otis -- Search Analytics - http://sematext.com/search-analytics/index.html Performance Monitoring -

Re: After adding field to schema, the field is not being returned in results.

2012-10-31 Thread Alexandre Rafalovitch
And - just to get stupid options out of the way - you don't have any parameters defined on the handlers that may list the fields to return? Regards, Alex. Personal blog: http://blog.outerthoughts.com/ LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch - Time is the quality of nature

Re: After adding field to schema, the field is not being returned in results.

2012-10-31 Thread Dotan Cohen
On Thu, Nov 1, 2012 at 2:52 AM, Otis Gospodnetic otis.gospodne...@gmail.com 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