Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

search: integer and float don’t support exact match #874

Open
9 tasks
TanyaStere42 opened this issue Jul 21, 2023 · 0 comments
Open
9 tasks

search: integer and float don’t support exact match #874

TanyaStere42 opened this issue Jul 21, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@TanyaStere42
Copy link
Member

TanyaStere42 commented Jul 21, 2023

Expected Behavior

Users can get exact matches back for integers and floats in either individual or sighting search

Current Behavior

  1. open individual search
  2. set sighting count filter to “equals”
  3. enter 1
  4. click go
  5. wait. no results are returned

there is an error

"root_cause": [
      {
        "col": 97, 
        "line": 1, 
        "reason": "[range] query does not support [eq]", 
        "type": "parsing_exception"
      }
    ],

QA Verification

Default fields (the individual search sighting count is the only default search we have for this issue)

  • Individual search, set sighting count filter to "equals"
  • enter an integer (i.e., 1)
  • click go
  • results returned

Custom fields

  • Create a custom number field for a sighting
  • Sighting search, set custom field filter to "equals"
  • enter an integer (i.e., 1)
  • click go
  • results returned
@TanyaStere42 TanyaStere42 added the bug Something isn't working label Aug 2, 2023
@TanyaStere42 TanyaStere42 added this to the Codex Release 2.2 milestone Oct 24, 2023
@TanyaStere42 TanyaStere42 removed this from the Codex Release 2.2 milestone Jan 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant