You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've just started exploring Solr features therefore I have the following questions about it:
Why do we have foreground dataset initially as "{!${defType} v=$q}", and because "q": "*:*", so as I understand initially we have foreground set as entire collection, but somehow using top-level facet of the type query we will filter foreground set to only documents that match our query ("query": "{!edismax q.op=AND qf=body v=$f0_0_query}")? Could you please explain the mechanism?
I didn't find enough information about it in the documentaition and on external resources.
Why do we need to get multiple relatedness function calculations and sorting based on these calculations? As I understand this calculation and sorting on the level of the facet f1_0 is enough?
I tried to simplify this request manually and tested the query using Solr Admin, and found that we have the same results with the following JSON query:
Also I am really confused about relatedness arguments, in the formula from the book we have 3 arguments: x, fg and bg, but in Solr we have function with 2 arguments: fore and back, and as we can see from the simplified JSON that we even don't need q parameter and need to define only foreground and background datasets.
Could you please explain what is the real meaning of x from the formula from the book and how it is defined in Solr implementation?
Hi @treygrainger ,
Could you please explain why we have the following Solr query for the SKG implement in Chapter 05, based on the example from Listing 5.4:
I've just started exploring Solr features therefore I have the following questions about it:
"{!${defType} v=$q}"
, and because"q": "*:*"
, so as I understand initially we have foreground set as entire collection, but somehow using top-level facet of the typequery
we will filter foreground set to only documents that match our query ("query": "{!edismax q.op=AND qf=body v=$f0_0_query}"
)? Could you please explain the mechanism?I didn't find enough information about it in the documentaition and on external resources.
relatedness
function calculations and sorting based on these calculations? As I understand this calculation and sorting on the level of the facetf1_0
is enough?I tried to simplify this request manually and tested the query using Solr Admin, and found that we have the same results with the following JSON query:
q
parameter was removedfore
parameter has already target queryf0_0
was removedrelatedness
function scores is presentedCould you please share your thoughts about it?
Thank you.
The text was updated successfully, but these errors were encountered: