-
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.
Merge pull request #11097 from IQSS/11027-extend-datasets-files-from-…
…search-api extended search API
- Loading branch information
Showing
8 changed files
with
143 additions
and
4 deletions.
There are no files selected for viewing
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
22 changes: 22 additions & 0 deletions
22
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,22 @@ | ||
### 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: | ||
- tabularTags: array of string for example,{"tabularTags" : ["Event", "Genomics", "Geospatial"]} | ||
- 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 (Note: upgrade instructions will need to include instructions for schema.xml): | ||
<field name="fileRestricted" type="boolean" stored="true" indexed="false" multiValued="false"/> | ||
<field name="canDownloadFile" type="boolean" stored="true" indexed="false" multiValued="false"/> | ||
<field name="variableCount" type="plong" stored="true" indexed="false" multiValued="false"/> | ||
<field name="observations" type="plong" stored="true" indexed="false" multiValued="false"/> | ||
|
||
See https://github.com/IQSS/dataverse/issues/11027 |
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
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
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
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
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
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