mitre-attack / mitre-attack/attack-workbench-rest-api

[REQUEST] Optimize reference search algorithm

Open
#355 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
57
Forks
18
Avg merge
6m
Merged PRs (30d)
2

Description

The search on the "Reference Manager" page inconsistently displays results. Sometimes searching for a token does not return the expected results, or relevant entries are listed far down on the list of results, making it difficult to find what the users need.

image

Solution:
Enhance the References search functionality to consistently return relevant results for all fields and improve the overall search experience.

Potential Solutions:

  1. Optimize the search algorithm to rank more relevant results (e.g., exact matches) higher in the results list.
  2. Implement smarter filtering to ensure searches for search names consistently return appropriate results.
  3. Display a preview or highlight matching text within the search results for easier identification.

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 token and field searches in the Reference Manager and trace them through this REST API service; the payload names no specific file or test. Done means relevant matches consistently appear, with exact or more relevant results ranked higher and matching text identifiable in the results.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend, search
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.