I am struggling to figure out how best to store object n + 1 in a solr document.
I save the CV / resume document in the solr document. I am considering storing two different types of data: education and employment.
If we look at education, the object will look like this:
{
"establishment" => 'Oxford',
"Subject" => 'Computing',
"Type" => 'Degree',
"Grade" => '2:1'
}
A CV may contain n + 1 of these objects, depending on the contents of the CV. The search should be able to see that when searching for a CV with setting = Oxford and Subject = Computing and Grade = 2: 1, so that it matches this object not in another institution with the same subject and class.
Multi-valued, I don’t think it will help or you can save n + 1 of these types of objects.
My question is how to configure solr to be able to store this data type in a single CVR SolR document so that it is searchable as part of a general index search?
source
share