Using elasticsearch enterprise app search with langchain for vector query

Hi. i have a working website with app-search and the web crwaler that crewals my site and uses the system created index.
i am trying to use that data in that index and use it as a source for ai queries.
i keep getting an error (using langchain platform)
Programs\Python\Python310\lib\site-packages\elasticsearch_sync\client_base.py", line 320, in perform_request
raise HTTP_EXCEPTIONS.get(meta.status, ApiError)(
elasticsearch.BadRequestError: BadRequestError(400, 'search_phase_execution_exception', 'failed to create query: field [vector] does not exist in the mapping

can i add this "vector" field to my index in appsearch?

How did you set up the crawling? Build a semantic search experience | Elastic has a step by step guide for the webcrawler on how to do vector search.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.