IP address fields missing from fieldTypeMap
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 72/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- typescript
- Domain
- frontend
Research direction
Start in src/utils/index.ts and inspect fieldTypeMap, then compare its entries with the IP type reported by field_capability.rs. Add the missing mapping and check the type-filtered field pickers and autocomplete paths; done means IP fields are mapped instead of undefined and are included where appropriate.
Written by the indexing model from the issue text.
Description
Problem
Quickwit's _field_caps endpoint reports IP address fields as type ip (see field_capability.rs FieldCapabilityEntryType::Ip), but the plugin's fieldTypeMap in src/utils/index.ts does not include an ip entry. This means:
- IP fields get
type: undefinedwhen mapped throughfieldTypeMap - They are excluded from type-filtered field pickers
- They may not appear in autocomplete suggestions
Scope
Not present in the OTEL log index currently, but quickwit supports IpAddr fields and the _field_caps mapping exists. Any index using IP fields would be affected.
Fix
Add ip to fieldTypeMap:
export const fieldTypeMap: Record<string, string> = {
// ... existing entries ...
ip: 'ip',
};
May also need filter/query handling for IP-specific syntax (CIDR ranges, etc.).
- Dominant language
- TypeScript
- Stars
- 76
- Forks
- 44
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from quickwit-oss/quickwit-datasource
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
Difficulty 1/5 Under an hour Newbie friendliness 45/100
quickwit-oss/quickwit-datasource#188 · 2 comments · 2 reactions ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
quickwit-oss/quickwit-datasource#172 · 1 comment ·
All issues in quickwit-oss/quickwit-datasource
Similar issues
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 91/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100