11.05.2016 Views

Apache Solr Reference Guide Covering Apache Solr 6.0

21SiXmO

21SiXmO

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

To enable the clustering component contrib and a dedicated search handler configured to use it, specify the "-a"<br />

option to set a JVM System Property when running the example:<br />

bin/solr start -e techproducts -Dsolr.clustering.enabled=true<br />

You can now try out the clustering handler by opening the following URL in a browser:<br />

http://localhost:8983/solr/techproducts/clustering?q=*:*&rows=100<br />

The output XML should include search hits and an array of automatically discovered clusters at the end,<br />

resembling the output shown here:<br />

<br />

<br />

0<br />

299<br />

<br />

<br />

<br />

GB18030TEST<br />

Test with some GB18030 encoded characters<br />

<br />

No accents here<br />

<br />

This is a feature (translated)<br />

<br />

This document is very shiny (translated)<br />

<br />

0.0<br />

0,USD<br />

true<br />

1448955395025403904<br />

1.0<br />

<br />

<br />

<br />

<br />

<br />

<br />

DDR<br />

<br />

3.9599865057283354<br />

<br />

TWINX2048-3200PRO<br />

VS1GB400C3<br />

VDBDB1A16<br />

<br />

<br />

<br />

<br />

iPod<br />

<br />

11.959228467119022<br />

<br />

F8V7067-APL-KIT<br />

IW-02<br />

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

363

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

Saved successfully!

Ooh no, something went wrong!