In my schema from 4.6, the text was in the 'text' field, and the "stored"
attrib was set to "true" as it is in the 5.2 schema. I am ingesting the
text from files on the server , and it used to work just fine with 4.6. I
am using the same schema except I had to get rid the field types pint,
plong, pfloat, pdouble and pdate. Otherwise, the schema is identical.

How do I tell SOLR 5.2 to store the text from a file to a certain field?

Thanks!


On Fri, Jun 26, 2015 at 7:29 AM, Alessandro Benedetti <
benedetti.ale...@gmail.com> wrote:

> Actually storing or not storing a field is a simple schema.xml
> configuration.
> This suggestion can be obvious, but … have you checked you have your
> "stored" attribute set "true" for the field you are interested ?
>
> I am talking about the 5.2 schema.
>
> Cheers
>
> 2015-06-26 12:24 GMT+01:00 Mark Ehle <marke...@gmail.com>:
>
> > Folks -
> >
> > I am using SOLR 4.6 to run a newspaper indexing site we have at the
> library
> > I work at. I would like to update to 5.2, and I have an instance of it
> > running. When I go to index the txt files of each newspaper page, I can
> > search and find stuff, but there is no text stored any more. I do use
> > highlighting so I need the text there.
> >
> > What would be different about 5.2 that would account for this?
> >
> > Thanks!
> >
> > Mark Ehle
> > Computer Support Librarian
> > Willard Library
> > Battle Creek,MI
> >
>
>
>
> --
> --------------------------
>
> Benedetti Alessandro
> Visiting card : http://about.me/alessandro_benedetti
>
> "Tyger, tyger burning bright
> In the forests of the night,
> What immortal hand or eye
> Could frame thy fearful symmetry?"
>
> William Blake - Songs of Experience -1794 England
>

Reply via email to