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 Vincenzo D'Amore <v....@gmail.com> on 2018/09/12 08:20:14 UTC

Merge update request with existing documents

Hi all,

I have to update a bunch of documents but in the update requests there are
only parts of the documents.

Given that the atomic update is not a feasible option, because sometimes I
have to remove one or more instances of a dynamic field but I'm unable to
know their name(s) at update time.

At least I would like to try to avoid to read (remotely) the documents I've
to update and merge them with the update requests.

Can I use the StatelessScriptUpdateProcessorFactory to do this?
Could I try extend the UpdateProcessor adding my behaviour ?
There are other feasible way in your opinion?

Thanks in advance for your help,
Vincenzo


-- 
Vincenzo D'Amore

Re: Merge update request with existing documents

Posted by Vincenzo D'Amore <v....@gmail.com>.
any suggestions?

On Wed, Sep 12, 2018 at 10:20 AM Vincenzo D'Amore <v....@gmail.com>
wrote:

> Hi all,
>
> I have to update a bunch of documents but in the update requests there are
> only parts of the documents.
>
> Given that the atomic update is not a feasible option, because sometimes I
> have to remove one or more instances of a dynamic field but I'm unable to
> know their name(s) at update time.
>
> At least I would like to try to avoid to read (remotely) the documents
> I've to update and merge them with the update requests.
>
> Can I use the StatelessScriptUpdateProcessorFactory to do this?
> Could I try extend the UpdateProcessor adding my behaviour ?
> There are other feasible way in your opinion?
>
> Thanks in advance for your help,
> Vincenzo
>
>
> --
> Vincenzo D'Amore
>
>

-- 
Vincenzo D'Amore