lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maria Muslea <maria.mus...@gmail.com>
Subject Re: field with stored="false" is still stored
Date Tue, 18 Apr 2017 03:11:35 GMT
One additional detail. In the Schema view the field appears as "unstored
field", which is what I want, but still it seems to be stored.

Thank you for your help.


Field: concept
Field-Type:org.apache.solr.schema.StrFieldDocs:1
<http://localhost:8983/solr/#/iss1/query?q=concept:[* TO *]>
Flags:IndexedDocValuesOmit NormsOmit Term Frequencies & PositionsSort
Missing Last
Properties √ √ √ √ √
Schema √ √ √ √ √
Index (unstored field)


On Mon, Apr 17, 2017 at 7:33 PM, Zheng Lin Edwin Yeo <edwinyeozl@gmail.com>
wrote:

> Hi Maria,
>
> From what you mentioned, you have upgraded directly from Solr 4 to Solr 6.
> If I'm not wrong, I don't think we can upgrade the index with a direct jump
> of 2 version.
>
> Was the field set to stored="false" before you upgrade?
>
> Regards,
> Edwin
>
>
>
> On 18 April 2017 at 06:40, Maria Muslea <maria.muslea@gmail.com> wrote:
>
> > Hi,
> >
> >
> > I just upgraded to SOLR 6.4.1 from SOLR 4.10, and am having trouble with
> > fields set as stored="false".
> >
> >
> > I edited solrconfig.xml according to the documentation, so I could edit
> the
> > schema using schema api.
> >
> >
> > <schemaFactory class="ManagedIndexSchemaFactory">
> >    <bool name="mutable">true</bool>
> >    <str name="managedSchemaResourceName">managed-schema</str>
> >  </schemaFactory>
> >
> > I added a field using "Add Field" from the Schema GUI, and the field does
> > appear in managed-schema as:
> >
> >
> > <field name="concept" type="string" indexed="true" stored="false"/>
> >
> >
> > Once I add a document to SOLR I am able to retrieve this field even
> though
> > it is set to stored="false", which means that it is stored.
> >
> >
> > I found a comment suggesting to remove
> > AddSchemaFieldsUpdateProcessorFactory so the field isn't readded, but
> with
> > no success.
> >
> >
> > I would appreciate any help.
> >
> > Thank you,
> > Maria
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message