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

Include file attributes on fulltextsearch result #143

Open
AlvaroBrey opened this issue Nov 25, 2021 · 0 comments
Open

Include file attributes on fulltextsearch result #143

AlvaroBrey opened this issue Nov 25, 2021 · 0 comments

Comments

@AlvaroBrey
Copy link
Member

AlvaroBrey commented Nov 25, 2021

Since some time this year, the normal Files search provider returns an attributes map that contains information about the file:

{
	"0": {
		"thumbnailUrl": "http://nextcloud.local/core/preview?x=32&y=32&fileId=201",
		"title": "Readme.md",
		"subline": "in Photos",
		"resourceUrl": "http://nextcloud.local/apps/files/?dir=/Photos&openfile=201&scrollto=Readme.md",
		"icon": "/apps/theming/img/core/filetypes/text.svg?v=0",
		"rounded": false,
		"attributes": {
			"fileId": "201",
			"path": "/Photos/Readme.md"
		}
	}
}

This is friendlier to non-web clients, that then don't have to parse the resourceUrl to get this information.
Is there any way that these attributes can also be included in the fulltextsearch result?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants