monika1800

Results comments of monika1800

Thanks @Timoeller. @tholor Yes my use case was to find the n most similar document for a given document with id ABC. I was able to achieve this with get_all_documents...

``` get_docs_params = cfg.get('get_docs_params', { "filters": {"Id": ["a2W3l000001Q6pmEAC"]}, #multiple filters can be added, here I am providing the document Id to fetch the relevant document embedding. "return_embedding": true, #This is...

@julian-risch I am trying to run document_store.write_documents(updated_docs, duplicate_documents="overwrite") with duplicate_documents="overwrite". Getting an error TypeError: write_documents() got an unexpected keyword argument 'duplicate_documents'. Is it part of current elasticsearch.py.

Hi @julian-risch, Thank you. I am able to run now the update method with previous version of haystack.

Thanks @tholor. It is working fine with ES documentsore and Embedding Retriever configurations.

Hi @tholor, This issue was observed due to lot of html tags present in the original content. After cleaning the html tags the size of the content has reduced and...

Hi @tholor , One of the approach I could think of using Elastic Search is - In Elastic Search there is a delete_by_query API available which performs a deletion on...

Hi @tholor, Thanks for giving more understanding on this issue. In the first case, I shall experiment with adding a sleep command of 10secs between write_documents() and update_embeddings() and report...

Thanks @tholor. Adding 10sec delay between write_documents() and update_embeddings() has made it work as expected for 1k document.