Hi Chris,
Yes you can do that. There is also type=“ignored” that you can use in such 
scenario.

HTH,
Emir
--
Monitoring - Log Management - Alerting - Anomaly Detection
Solr & Elasticsearch Consulting Support Training - http://sematext.com/



> On 22 Oct 2018, at 15:22, Chris Wareham <chris.ware...@graduate-jobs.com> 
> wrote:
> 
> Hi folks,
> 
> I have a number of fields defined in my managed-schema file that are used as 
> the sources for a copy field:
> 
>  <field name="body"           type="text_general" indexed="false" 
> stored="true"/>
>  <field name="sectors"        type="string"       indexed="false" 
> stored="true"  multiValued="true"/>
>  <field name="locations"      type="string"       indexed="false" 
> stored="true"  multiValued="true"/>
> 
>  <field name="content"        type="text_general" indexed="true" 
> stored="false" multiValued="true"/>
> 
>  <copyField source="body"      dest="content"/>
>  <copyField source="sectors"   dest="content"/>
>  <copyField source="locations" dest="content"/>
> 
> Can I set both the indexed and stored values to false for the body, sectors 
> and locations fields since I don't want to search or retrieve them?
> 
> Regards,
> 
> Chris

Reply via email to