-
Notifications
You must be signed in to change notification settings - Fork 493
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4d28d0d
commit aad328e
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
doc/release-notes/11027-extend-datasets-files-from-search-api.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
### Feature to extend Search API for SPA | ||
|
||
Added new fields to search results type=files | ||
|
||
For Files: | ||
- restricted: boolean | ||
- canDownloadFile: boolean ( from file user permission) | ||
- categories: array of string "categories" would be similar to what it is in metadata api. | ||
For tabular files: | ||
- variables: number/int shows how many variables we have for the tabular file | ||
- observations: number/int shows how many observations for the tabular file | ||
|
||
|
||
|
||
New fields added to solr schema.xml: | ||
<field name="fileRestricted" type="boolean" stored="true" indexed="false" multiValued="false"/> | ||
<field name="fileDownloadable" type="boolean" stored="true" indexed="false" multiValued="false"/> | ||
|
||
See https://github.com/IQSS/dataverse/issues/11027 |