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 form

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.

2012-11-04 Thread Dotan Cohen
On Sat, Nov 3, 2012 at 4:23 AM, Lance Norskog 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 again? > Thank

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 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. > Please don't go to wit'

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

2012-11-02 Thread Lance Norskog
| To: solr-user@lucene.apache.org | Sent: Friday, November 2, 2012 7:32:40 AM | Subject: Re: After adding field to schema, the field is not being returned in results. | | Well, I'm at my wits end. I tried your field definitions (using the | exampledocs XML) and they work just fine. As far as

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 yo

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 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 that > field come

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 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 with > your new field

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

2012-11-01 Thread Lance Norskog
ginal Message - | From: "Dotan Cohen" | To: solr-user@lucene.apache.org | Sent: Wednesday, October 31, 2012 6:54:47 PM | Subject: Re: After adding field to schema, the field is not being returned in results. | | On Thu, Nov 1, 2012 at 2:52 AM, Otis Gospodnetic | wrote: | > Hi, | >

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 should

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 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 sort on a field b

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-10-31 Thread Dotan Cohen
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! Ho

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 that

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 - http://sematext.com/s