Hi All,

I discovered a strange behaviour with this combination.
Not only the atomic update fails, the child documents are not properly
indexed, and you can't use highlights on their text fields. Currently there
is no workaround other than reindex.

Checked on 8.3.0, 8.6.1 and 8.8.0.
1. Configure nested schema.
2. enableLazyFieldLoading is true (default).
3. Run a search with hl.method=unified and hl.fl=<one of child text fields>
4. Trying to do an atomic update on some of the *parents* of the returned
documents from #3.

You get an error: "TransactionLog doesn't know how to serialize class
org.apache.lucene.document.LazyDocument$LazyField".

Now trying to run #3 again yields an error message that the text field is
indexed without positions.

If enableLazyFieldLoading is false or if using the default highlighter this
doesn't happen.

Ronen.

Reply via email to