IQSS / IQSS/dataverse

Search API: strip html from file description in search results

Open
#12,534 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

GREI Re-arch SPA
Dominant language
Java
Stars
1.1k
Forks
564
Avg merge
2d 2h
Merged PRs (30d)
29

Description

In the Search API, for dataverse and dataset items, any html in the description is stripped before returning it in the response. We need to have the same behavior for file items in the response.

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

Find the Search API response handling that strips HTML from dataverse and dataset descriptions, then compare how file descriptions are handled. Done means file-item descriptions in Search API responses have HTML removed consistently with the existing behavior, with tests covering the response.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.