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

how to build inverted index #236

Open
liulfy opened this issue Oct 12, 2022 · 0 comments
Open

how to build inverted index #236

liulfy opened this issue Oct 12, 2022 · 0 comments

Comments

@liulfy
Copy link

liulfy commented Oct 12, 2022

When I try to build inverted index using
ensureIndex(index_type='inverted', fields=[ "_key" ])
It will raise exception
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/lib/python3.8/site-packages/pyArango/collection.py", line 624, in ensureIndex self.indexes[index_type][ind.infos["id"]] = ind KeyError: 'inverted'

It didn't fail in collection.py line 623, which means there is an index named 'inverted'.
How to create this index?

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