Note that there are some explanatory texts on larger screens.

plurals
  1. PODrilling down (combination, via facets) on a Multivalued Solr field
    text
    copied!<p>I'm looking to drill down on a multivalued field that contains (space) delimited list of words; but still returning facets at each step of the drill-down.</p> <p><strong>Example Table</strong><br/> ID, Properties (multivalued field)<br/> 1, "Yellow Green Square"<br/> 2, "Yellow Round Purple"<br/> 3, "Yellow Purple"<br/> 4, "Green" - <em>Doesn't really matter, just showing there are properties that don't contain Yellow</em>.<br/></p> <p>I am able to drill down on the first <em>property</em> ("Yellow"), and have the the following properties return, via facet:<br/> Yellow (3) - <em>Omitted From Display; but returned regardless</em><br/> Purple (2)<br/> Green (1)<br/> Round (1)<br/> Square (1)</p> <p>And the following results returned: <strong>1, 2, 3</strong></p> <p>So what I expect is that if I apply the second <em>property</em> ("Purple"), I get the following:<br/> Purple (2) - <em>Omitted From Display; but returned regardless</em><br/> Yellow (2) - <em>Omitted From Display; but returned regardless</em><br/> Round (1)</p> <p>And the following results returned: <strong>2, 3</strong></p> <p>The issue we're running into is that once the 2nd facet property is applied, we get the results we are expecting; but all the facets disappear (even ones outside of the <em>property</em> facet).</p> <p>I'd like to be able to drill down to a single record; which in this case would to apply "Round", and getting record ID 2.</p> <p>Any help would be greatly appreciate; the documentation solr hasn't really helped (nor have any of the books).</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload