Do you mean SHA1 of the document itself? I'm pretty sure that would be a
problem for us as we can have nested documents with identical values. For
example, you could have:
<some_doc>
Dan
Pilone
...
</some_doc>
If "author" is indexed as a nested document it will need an id which can't
just be the SHA1 of the content we provided. Now I suppose if it has the
_parentId as part of the "content" then the SHA1 would be different, but I
don't know when/how the parent id is associated with nested docs. -- Dan
On Tue, Jul 26, 2011 at 11:44 PM, Dan Pilone dan@element84.com wrote:
Do you mean SHA1 of the document itself? I'm pretty sure that would be a
problem for us as we can have nested documents with identical values. For
example, you could have:
<some_doc>
Dan
Pilone
...
</some_doc>
If "author" is indexed as a nested document it will need an id which can't
just be the SHA1 of the content we provided. Now I suppose if it has the
_parentId as part of the "content" then the SHA1 would be different, but I
don't know when/how the parent id is associated with nested docs. -- Dan
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.