11.05.2016 Views

Apache Solr Reference Guide Covering Apache Solr 6.0

21SiXmO

21SiXmO

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

solrconfig.xml<br />

<br />

<br />

<br />

<br />

/bjqfacet<br />

<br />

<br />

bjqFacetComponent<br />

<br />

<br />

<br />

<br />

/bjqdocsetfacet<br />

<br />

<br />

bjqDocsetFacetComponent<br />

<br />

<br />

One of these components can be added into any search request handler.<br />

The difference between the BlockJoinFacetComponent and BlockJoinDocSetFacetComponent is in the<br />

way they deal with <strong>Solr</strong>'s caches.<br />

The BlockJoinFacetComponent disables queryResult cache for the request it takes part in.<br />

The BlockJoinDocSetFacetComponent uses the filter cache, which might have worse performance if<br />

commits are frequent.<br />

In most cases, the differences are negligible. Both components work with distributed search in <strong>Solr</strong>Cloud mode.<br />

Documents should be added in children-parent blocks as described in indexing nested child documents.<br />

Examples:<br />

<strong>Apache</strong> <strong>Solr</strong> <strong>Reference</strong> <strong>Guide</strong> <strong>6.0</strong><br />

312

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!