-
Notifications
You must be signed in to change notification settings - Fork 4
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
search-core: Adding Page Number to Segment #268
Conversation
Added an optional parameter called pageNumber to Segments.ts
Pull Request Test Coverage Report for Build 9942181701Details
💛 - Coveralls |
|
||
## Segment.pageNumber property | ||
|
||
The page number of a segment from a pdf |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd prefer to say something like "The page number of the document that the segment came from. Only populated when document is a PDF file."
If you end up changing this, make sure to update other places as well
Also, this pr needs to be merged into a hotfix branch instead of master |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems good to me, but I'd wait for Emily's sign off before shipping.
Added an optional parameter called pageNumber to Segments.ts
Test: Existing tests in search-core all pass