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

export only exports one field #288

Closed
jackz314 opened this issue Nov 10, 2021 · 1 comment
Closed

export only exports one field #288

jackz314 opened this issue Nov 10, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@jackz314
Copy link

I'm trying to export a Document index that has multiple fields, but it seems like only one field is exported. Does anyone know what might be the cause of this? Or is this a bug?

await docIndex.export((key, data) => {
    console.log("Index key:", key);
    ...
  });

Output ("title" is one of the indexed fields):

Index key: reg
Index key: title.cfg
Index key: title.map
Index key: title.ctx

I'm using the latest version (0.7.2), I also tried the master branch, neither worked.

@ts-thomas ts-thomas self-assigned this Oct 2, 2022
@ts-thomas ts-thomas added the bug Something isn't working label Oct 2, 2022
@ts-thomas
Copy link
Contributor

This is now fixed in v0.7.23
Further improvements to provide Promise.all() compatible export ist coming in next version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants