Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend meta data support #1958

Closed
bogdankostic opened this issue Jan 5, 2022 · 1 comment
Closed

Extend meta data support #1958

bogdankostic opened this issue Jan 5, 2022 · 1 comment

Comments

@bogdankostic
Copy link
Contributor

bogdankostic commented Jan 5, 2022

Right now, we only allow strings to be used as meta data for filtering. In order to get better search results, we want to add the following:

  • filtering for data types other than string, e.g. dates, ints, floats, bools
  • filtering not only for exact match, but also comparisons (<, >, <=, ...), ranges of values (e.g. dates) etc.
  • combining multiple filters with logical AND / OR operations

Related issues: #625, #1226, #1939

@SjSnowball
Copy link
Contributor

SjSnowball commented Jan 28, 2022

@tholor @bogdankostic Extending metadata mapping and filtering support will bring great flexibility for keyword search.
Currently the list of fields passed in search_fields, content_fields are indexed as the "text" field. The rest of the fields are forcefully set to "Keyword".
Similarly, a new parameter will be introduced which will take the data_type and list of fields belonging to that ??

[
  { "date": [field1,field2] },
  { "keyword": [field3,field4] },
  ...
}

I would love to work on this issue.Please let me know

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants