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.

We've defined three paths with this section:<br />

/myhandler declared as a direct path.<br />

/root/* with a single asterisk to indicate the parameters should apply to paths that are one level deep.<br />

/root1/** with double asterisks to indicate the parameters should apply to all nested paths, no matter<br />

how deep.<br />

When we define the request handlers, the wildcards will work in the following ways:<br />

<br />

The /myhandler class was named as a path in the so this will use those parameters.<br />

Next we have a request handler named /root/search5:<br />

<br />

We defined a wildcard for nested paths that are one level deeper than /root, so this request handler will use<br />

the parameters. This one, however, will not, because /root/search5/test is more than one level deep from<br />

/root:<br />

<br />

If we want to define all levels of nested paths, we should use double asterisks, as in the example path /root1/<br />

**:<br />

<br />

Any path under /root1, whether explicitly defined in a request handler or not, will use the parameters defined in<br />

the matching initParams section.<br />

UpdateHandlers in <strong>Solr</strong>Config<br />

The settings in this section are configured in the element in solrconfig.xml and may<br />

affect the performance of index updates. These settings affect how updates are done internally. configurations do not affect the higher level configuration of RequestHandlers that process client update<br />

requests.<br />

<br />

...<br />

<br />

Topics covered in this section:<br />

Commits<br />

commit and softCommit<br />

autoCommit<br />

commitWithin<br />

Event Listeners<br />

Transaction Log<br />

Commits<br />

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

449

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

Saved successfully!

Ooh no, something went wrong!