Skip to content

Commit

Permalink
Issue #233: fix markdown lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Francois-Werbrouck committed Feb 26, 2025
1 parent 25cf166 commit 22e743a
Showing 1 changed file with 21 additions and 37 deletions.
58 changes: 21 additions & 37 deletions fertiscan/doc/search-inspection.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

## Context

The User wants to be able to search within the datasets of existing inspection based on the following parameters:
The User wants to be able to search within the datasets of existing inspection
based on the following parameters:

- Fertilizer Name
- Registration number
Expand All @@ -19,52 +20,35 @@ We need to establish rules regarding our search.

### String matching

- The search must allow for a case insensitive search, meaning the capitalisation of words must not be considered. Meaning if you search "ABC in the following dataset
- The search must allow for a case insensitive search, meaning the
capitalisation of words must not be considered. Meaning if you search "ABC in
the following dataset

**Dataset**
| ID | Name |
|-----|------|
| 1 | ABC |
| 2 | abc |
**Dataset** | ID | Name | |-----|------| | 1 | ABC | | 2 | abc |

**Results**
| ID | Name |
|-----|------|
| 1 | ABC |
| 2 | abc |
**Results** | ID | Name | |-----|------| | 1 | ABC | | 2 | abc |

- The results must be an exact match to the parameter given, meaning if you search "**ABC**" in the following dataset
- The results must be an exact match to the parameter given, meaning if you
search "**ABC**" in the following dataset

**Dataset**
| ID | Name |
|-----|------|
| 1 | **ABC** |
| 2 | **ABC**D |
| 3 | **AB** |
| 4 | abc |
**Dataset** | ID | Name | |-----|------| | 1 | **ABC** | | 2 | **ABC**D |
| 3 | **AB** | | 4 | abc |

**Results**
| ID | Name |
|-----|------|
| 1 | **ABC** |
| 4 | abc |
**Results** | ID | Name | |-----|------| | 1 | **ABC** | | 4 | abc |

### Multiple Parameters

- For an entry with multiple parameters being evaluated, all parameters are evaluated using a logical "**AND**" therefor they mist all be a match for the entry to be returned as a result. Meaning if you search (**ABC**,**XYZ**) in the following dataset
- For an entry with multiple parameters being evaluated, all parameters are
evaluated using a logical "**AND**" therefor they mist all be a match for the
entry to be returned as a result. Meaning if you search (**ABC**,**XYZ**) in
the following dataset

**Dataset**
| ID | first name | Last name |
|-----|------|----|
| 1 | **ABC** | **XYZ** |
| 2 | **ABC** | IJK |
| 3 | DEF | **XYZ** |
| 4 | DEF | IJK |
**Dataset** | ID | first name | Last name | |-----|------|----| | 1 |
**ABC** | **XYZ** | | 2 | **ABC** | IJK | | 3 | DEF | **XYZ** | | 4 |
DEF | IJK |

**Results**
| ID | first name | Last name |
|-----|------|----|
| 1 | **ABC** | **XYZ** |
**Results** | ID | first name | Last name | |-----|------|----| | 1 |
**ABC** | **XYZ** |


## Entity Used
Expand Down

0 comments on commit 22e743a

Please sign in to comment.