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

Eliminate document properties from search results which are null or blank #446

Open
AsfandHikmat opened this issue Jul 19, 2022 · 0 comments

Comments

@AsfandHikmat
Copy link

Is your feature request related to a problem? Please describe.
I am playing around with Dejavu and many of my document properties are null or blank.

Describe the solution you'd like
When i click on the search button via the search preview I don't want the results to include properties from the doc where the properties are blank or null,

Describe alternatives you've considered
I haven't considered any alternative so far.

Additional context
Lets say i have a document like this
{"firstName":"Asfand", "lastName":"Hikmat","Location":"UK", "salary":null},
{"firstName":"Maria", "lastName":"ZaiZai", "location":"UK", "salary":"2000$"

When i search for this document in the search UI for UK can the result set include something like this.
"firstName":"Asfand", "lastName":"Hikmat","Location":"UK"
"firstName":"Maria", "lastName":"ZaiZai", "location":"UK", "salary":"2000$"

Note for the first doc since salary is null we don't show it in the search UI.

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

1 participant