You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exported Keys of a DocumentIndex have improper format.
This can be reproduced by create a nested document index, exporting the keys. When you try to reimport the keys you'll see that they'll have the format "field1-field2..." instead of "field1:field2" which leads to an undefined error.
After messing around with different key formats I found that this works
//Note result is the exported index dataconstnewIndex=newDocument(config)for(constrinresult){letstring=r.replace("-",":")console.log(string)newIndex.import(string,result[r])//}newIndex.search("Whales")
The text was updated successfully, but these errors were encountered:
Issue
Exported Keys of a DocumentIndex have improper format.
This can be reproduced by create a nested document index, exporting the keys. When you try to reimport the keys you'll see that they'll have the format "field1-field2..." instead of "field1:field2" which leads to an undefined error.
After messing around with different key formats I found that this works
The text was updated successfully, but these errors were encountered: