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.

with the fact that DocValues do not currently preserve order, means that users should set useDocValues<br />

AsStored="false" to prevent future optimizations from using the column-stored values over the<br />

row-stored values when fields have both stored="true" and docValues="true" .<br />

Formatted date-times from <strong>Solr</strong> have some differences. If the year is more than 4 digits, there is a leading<br />

'+'. When there is a non-zero number of milliseconds, it is padded with zeros to 3 digits. Negative year<br />

(BC) dates are now possible. Parsing: It is now an error to supply a portion of the date out of its, range,<br />

like 67 seconds.<br />

<strong>Solr</strong>J no longer includes DateUtil. If for some reason you need to format or parse dates, simply use In<br />

stant.format() and Instant.parse() .<br />

If you are using spatial4j, please upgrade to 0.6 and edit your spatialContextFactory to replace com<br />

.spatial4j.core with org.locationtech.spatial4j .<br />

Upgrading from Older Versions of <strong>Solr</strong><br />

Users upgrading from older versions are strongly encouraged to consult CHANGES.txt for the details of all cha<br />

nges since the version they are upgrading from.<br />

A summary of the significant changes between <strong>Solr</strong> 5.x and <strong>Solr</strong> <strong>6.0</strong> can be found in the Major Changes from<br />

<strong>Solr</strong> 5 to <strong>Solr</strong> 6 section.<br />

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

27

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

Saved successfully!

Ooh no, something went wrong!