It should be explained http://wiki.apache.org/solr/UpdateRequestProcessor
On Thu, Nov 19, 2015 at 9:27 PM, CrazyDiamond wrote:
> How to do this?
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/adding-document-with-nested-document-require-to-set-id-tp4240908p42410
How to do this?
--
View this message in context:
http://lucene.472066.n3.nabble.com/adding-document-with-nested-document-require-to-set-id-tp4240908p4241091.html
Sent from the Solr - User mailing list archive at Nabble.com.
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 wrote:
> How exactly you are doing that?
> D
How exactly you are doing that?
Doing what?
this is from schema.
id
...
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://lu
Hello,
On Thu, Nov 19, 2015 at 12:48 PM, CrazyDiamond
wrote:
> id is generated automatically(i use
> uuid)
>
How exactly you are doing that?
i tryed to add nesting. i want
> the same behaviour for nested documents as it was for not nested.
>
How exactly you want it to work with them?
--
Sinc
if i add document without nesting then id is generated automatically(i use
uuid), and this was working perfectly until i tryed to add nesting. i want
the same behaviour for nested documents as it was for not nested.
--
View this message in context:
http://lucene.472066.n3.nabble.com/adding-doc
If you have id listed as a required field (which I believe you need to
anyway), what do you actually get when you add a document without
nesting? What does the document echo back?
Because if you are getting a document back without id field when it is
declared required in the schema, that would be