-
Notifications
You must be signed in to change notification settings - Fork 7
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
Search multiple properites in object #4
Comments
Such a usecase would require matching on both of the fields, which leads me to a dilemma on how the scoring would occur; would the final score be the aggregate of all the getter scores? Or would one take precedence over the other? |
Yes that is a tricky. My thought process was that, each property would be scored separately and return object would then have the score for both separately. For sorting it could sort by either combined score or by highest property value per object and just ignore the small properties. Would do you think of that solution? |
I'm also interested in this. Any thoughts on the proposed implementation? For my usecase, I would propose an aggregate score, with the ability to add weights/priority to each getter. |
@wfuener For a simple workaround the |
Is it possible to specify multiple object properties in the getter? For example, I have a list of user objects and I'm looking to do a search on the username property and name property of a user object.
The text was updated successfully, but these errors were encountered: