-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
feat: FullTextSearch request includes portion of data to be retrieved from indexer #62903
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| <?php | ||
|
|
||
| declare(strict_types=1); | ||
|
|
||
| /** | ||
| * SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors | ||
| * SPDX-License-Identifier: AGPL-3.0-or-later | ||
| */ | ||
|
|
||
| namespace OCP\FullTextSearch\Model; | ||
|
|
||
| /** | ||
| * Body portion to be retrieved from the index. | ||
| * | ||
| * @since 35.0.0 | ||
| */ | ||
| enum BodyPortion: string { | ||
| case TITLE = 'title'; | ||
|
Check failure on line 18 in lib/public/FullTextSearch/Model/BodyPortion.php
|
||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this will need some phpdoc |
||
| case LINKS = 'links'; | ||
|
Check failure on line 19 in lib/public/FullTextSearch/Model/BodyPortion.php
|
||
| case TAGS = 'tags'; | ||
|
Check failure on line 20 in lib/public/FullTextSearch/Model/BodyPortion.php
|
||
| case SUBTAGS = 'subtags'; | ||
|
Check failure on line 21 in lib/public/FullTextSearch/Model/BodyPortion.php
|
||
| case METATAGS = 'metatags'; | ||
|
Check failure on line 22 in lib/public/FullTextSearch/Model/BodyPortion.php
|
||
| case PARTS = 'parts'; | ||
|
Check failure on line 23 in lib/public/FullTextSearch/Model/BodyPortion.php
|
||
| case MORE = 'more'; | ||
|
Check failure on line 24 in lib/public/FullTextSearch/Model/BodyPortion.php
|
||
| } | ||
Uh oh!
There was an error while loading. Please reload this page.