lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zheng Lin Edwin Yeo <edwinye...@gmail.com>
Subject Re: field with stored="false" is still stored
Date Tue, 18 Apr 2017 02:33:43 GMT
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