Hi,

Perhaps you want UUIDUpdateProcessorFactory loop through
SolrInputDocument.getChildDocuments() and assign generated value. You need
to implement an own update processor (by extending one of existing).

On Thu, Nov 19, 2015 at 7:41 PM, CrazyDiamond <crazy_diam...@mail.ru> wrote:

> How exactly you are doing that?
> Doing what?
>         <field name="id" type="uuid" indexed="true" stored="true"
> required="true"
> />
> this is from schema.
>    <updateRequestProcessorChain name="uuid">
>    <processor class="solr.UUIDUpdateProcessorFactory">
>         <str name="fieldName">id</str>
>    </processor>
> ...
>  <updateRequestProcessorChain name="add-unknown-fields-to-the-schema">
>         <processor class="solr.UUIDUpdateProcessorFactory" />
>
> this is from config
>  i want to store in nested document  multiple values that should be grouped
> together, like pages ids and pages urls
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/adding-document-with-nested-document-require-to-set-id-tp4240908p4241058.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>



-- 
Sincerely yours
Mikhail Khludnev
Principal Engineer,
Grid Dynamics

<http://www.griddynamics.com>
<mkhlud...@griddynamics.com>

Reply via email to