Add test case that causes `text` argument to `textMatchScore` to be empty
This could happen in the real application if text near the end of the document was annotated and an update to the document removes the text between the end of the annotated text and the end of the document. I also added a note about the preconditions for when the `search` function is guaranteed to return at least one match.
Showing
Please register or sign in to comment