bcgov / bcgov/STRR

Elastic Search - ITerations

Open
#1,427 11 comments 0 reactions 0 assignees View on GitHub
STR
Dominant language
Python
Stars
2
Forks
22
Avg merge
2d 35m
Merged PRs (30d)
11

Description

### User Story
**As an** examiner,
**I want** to be able to search for a keyword within applications,
**So that** I can quickly find applications containing relevant information.

DOES NOT SEARCH STATUSES

---

#### FIGMA https://www.figma.com/design/a4H3s0ebAxwv8ZniyNAt4g/STRR-Host-Registration---Redesign?node-id=1327-57196&t=LfZQuaEBOFj06fgK-1
---
# Acceptance Criteria

1.**Keyword Search Functionality:**
- [x] The system must allow the examiner to enter a keyword or phrase in the search bar.

2. **Search Scope:**
- [x] The search must include content from all application sections (e.g., titles, descriptions, names, addresses and metadata(?)).

3. **Results Table Display:**
- [x] The search results should be displayed in a the current table format

4. **Pagination and Sorting:**
- [x] The results table should support pagination for large result sets.
- [ ] The examiner should be able to sort utilize grouping and sorting as they normally do

5. **Partial Matches:**
- [ ] The system should support partial keyword matches (e.g., "admin" returns results for "administrator").

6. **Case Insensitivity:**
- [x] Searches should be case-insensitive (e.g., searching for "project" and "Project" should return the same results).

7. **No Results Handling:**
- [x] If no applications match the search term, the system must display a "No results found" message with suggestions for refining the search.

8. Check the sub task bcgov/entity#25670 to see if this needs to be done
---
Future iterations:
**Attachments**
- If attachments are included, they should be searchable (e.g., PDF, DOCX).

**Highlighting Matches:**
- [ ] - The table should highlight the portion of the content where the keyword appears (if feasible).

Full text search so we can search everything in the applications. This is currently implemented in the old examiner app.

Design Mock-up:[Registry map_2024-12-20_23-48-22.pdf](https://api.zenhub.com/attachedFiles/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBejQ3Q0E9PSIsImV4cCI6bnVsbCwicHVyIjoiYmxvYl9pZCJ9fQ==--4fe418acded0a4c8ec165b9c867bb452d8551696/Registry%20map_2024-12-20_23-48-22.pdf)

Design Reference:[Registry map_2024-12-20_23-52-50.pdf](https://api.zenhub.com/attachedFiles/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBejg3Q0E9PSIsImV4cCI6bnVsbCwicHVyIjoiYmxvYl9pZCJ9fQ==--e2ae3253bedc6ccd92ff2199f6bd192fd28d3ade/Registry%20map_2024-12-20_23-52-50.pdf)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.