Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blog Branch Error #12

Open
Lord-V15 opened this issue Apr 10, 2021 · 2 comments
Open

Blog Branch Error #12

Lord-V15 opened this issue Apr 10, 2021 · 2 comments

Comments

@Lord-V15
Copy link

When I try to run the script, I had to solve tf v1 issues by using tf.compat.v1 everywhere. Still, when I create the index it shows the error :
elasticsearch.exceptions.RequestError: RequestError(400, 'mapper_parsing_exception', 'No handler for type [dense_vector] declared on field [title_vector]')
I want to understand why this error is being shown.

@Lord-V15
Copy link
Author

Okay so I found the solution for this thanks to this issue opened on the ES forum : https://discuss.elastic.co/t/no-handler-for-type-dense-vector-for-version-7-4-2/223819
We need the default build flavor for embeddings to work. As you can see below, mine was an OSS build :
Screenshot 2021-04-10 at 11 08 02 AM

@Lord-V15
Copy link
Author

@jtibshirani can you add this information about which build_flavor is needed for this script to run in the readme as it is very difficult to find the issue and it's solution online.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant