Closed TattdCodeMonkey closed 6 months ago
Updated the default_doc_builder function in _search to safely read the metadata field and default it to an empty object if it doesn't exist on the hit source document.
default_doc_builder
Closes #7
Already fixed by a community contribution in https://github.com/langchain-ai/langchain-elastic/pull/8.
Updated the
default_doc_builder
function in _search to safely read the metadata field and default it to an empty object if it doesn't exist on the hit source document.Closes #7