You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by matthew sporleder <ms...@gmail.com> on 2020/08/06 20:11:27 UTC
copyField from empty multivalue
I have a copyField:
<copyField source="body" dest="catchall" />
<copyField source="preview" dest="catchall"/>
But sometimes preview (<field name="preview" type="stems"
indexed="true" stored="true" multiValued="true" />) is not populated.
It appears that the "catchall" field does not get created when preview
has no content in it. Can I use required=false or similar on a
copyField?
Thanks,
Matt
Re: copyField from empty multivalue
Posted by matthew sporleder <ms...@gmail.com>.
Nevermind I think we found this was caused by a bug in our (new) custom indexer
On Thu, Aug 6, 2020 at 4:11 PM matthew sporleder <ms...@gmail.com> wrote:
>
> I have a copyField:
> <copyField source="body" dest="catchall" />
> <copyField source="preview" dest="catchall"/>
>
> But sometimes preview (<field name="preview" type="stems"
> indexed="true" stored="true" multiValued="true" />) is not populated.
>
> It appears that the "catchall" field does not get created when preview
> has no content in it. Can I use required=false or similar on a
> copyField?
>
> Thanks,
> Matt