-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
fix search highlights for REPORT request #38787
Conversation
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes. |
dcc0823
to
d083cf0
Compare
812da12
to
4509c1b
Compare
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.
Cool, works like a charm 🥇 tried it out locally with the search in ownCloud Web. Results can be rendered to proper html. I was a bit surprised by the amount of linebreaks in the content of the highlights, but those are already present in the raw content, so nothing we should worry about here. Will need some changes in Web, but the encoding works well. Good to merge IMO 👍
Kudos, SonarCloud Quality Gate passed! |
@phil-davis Coverage reporting works now. |
Description
File Search should be done in the future via WebDAV
REPORT
requests.ownCloud web is using it.
In combination with the Full Text Search app, we have more properties to return.
<oc:search-highlights />
=> returns am html formatted excerpt of the file content which is highlighting the matching words.<oc:search-score />
=> returns a float number score valueUsage
Request
Response Body
Motivation and Context
Make Full Text Search Features available for ownCloud Web
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: