-
Notifications
You must be signed in to change notification settings - Fork 1
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
Pass search filters into solr query to ensure displayable results are at the top of list. #1239
Comments
|
@jrmartin depending on the type of filter set (positive or negative filter) we will have to add these to the solr configuration in the bq parameter. |
@ddelpiano @Robbie1977 Do we add the (+) and (-) as options to the filter set? Or how do we let the user choose between the (+) or (-)? We can add them to the list of filters, and depending which one of them is selected, we assigned the value of "bq=" to it? |
@jrmartin I think the requirement has got a bit confusing. NO changes to the filters tools/menu all we need to do is take the selected filters and add them to the solr query parameters Then we need to add these additional parameters to the solr query: So ^100 moves the results score up and 0.001 down The original parameters are:
so after the change "bq" will be: The parameter setup is here https://github.com/VirtualFlyBrain/geppetto-vfb/blob/master/components/configuration/VFBMain/searchConfiguration.js#L86 The actual name to use in the parameter vs name in the filter is from the key in https://github.com/VirtualFlyBrain/geppetto-vfb/blob/master/components/configuration/VFBMain/searchConfiguration.js#L182 |
Thanks @Robbie1977 , I understand now. |
events and updates 'bq' property of query_results configuration for the search. Use geppetto-client branch https://github.com/openworm/geppetto-client/tree/VFBv2.2.0.7-feature/1238
No description provided.
The text was updated successfully, but these errors were encountered: