IQSS / IQSS/dataverse

Finding files by file extension

Open
#10,780 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Feature: Search/Browse Type: Feature
Dominant language
Java
Stars
1.1k
Forks
564
Avg merge
2d 2h
Merged PRs (30d)
29

Description

I'm trying to search for files in the web UI based on file extension. If I look at https://dataverse.harvard.edu/dataverse/harvard?q=(fileType%3AJupyter+fileType%3Anotebook) I see about 2547 results as of today of ipynb files. If I look at https://dataverse.harvard.edu/dataverse/harvard?q=ipynb&types=files&sort=score&order=desc&page=1 I only see about 272 files and most are not ipynb files (just mentions of ipynb in the metadata). If I look at https://dataverse.harvard.edu/dataverse/harvard/?q=%28fileType%3AWord+fileType%3Axlsx%29 it shows files for MS Word.

I would expect that the web UI search would also include file extensions and not simply an interpretation of the file extension (which in the case of xlsx Dataverse seems to believe it is not a spreadsheet but Word). Plus searching by file types in the advanced search assumes you know the Dataverse name of the file types supported (why not put this in a dropdown list or have a reference to the file types that Dataverse supports) and allow searching by a simple file extension.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the two file-extension searches in the web UI and compare their results with the advanced file-type search. No files or tests are named; done means extension searches find matching files and the supported file types are discoverable without requiring users to know Dataverse's internal names.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
search, web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.