LUCENE-7223: improve XXXPoint javadocs to explain that a StoredField is needed if you want to retrieve the original value at search time

This commit is contained in:
Mike McCandless 2016-04-15 13:34:16 -04:00
parent b513df6c41
commit c7d4080820
6 changed files with 16 additions and 5 deletions

View File

@ -84,6 +84,12 @@ Bug Fixes
that led to IllegalStateException being thrown when nothing was wrong.
(David Smiley, yonik)
Documentation
* LUCENE-7223: Improve XXXPoint javadocs to make it clear that you
should separately add StoredField if you want to retrieve these
field values at search time (Greg Huber, Robert Muir, Mike McCandless)
Other
* LUCENE-7174: Upgrade randomizedtesting to 2.3.4. (Uwe Schindler, Dawid Weiss)

View File

@ -28,7 +28,8 @@ import org.apache.lucene.util.BytesRef;
import org.apache.lucene.util.StringHelper;
/**
* An indexed binary field.
* An indexed binary field for fast range filters. If you also
* need to store the value, you should add a separate {@link StoredField} instance.
* <p>
* Finding all documents within an N-dimensional shape or range at search time is
* efficient. Multiple values for the same field in one document

View File

@ -27,7 +27,8 @@ import org.apache.lucene.util.BytesRef;
import org.apache.lucene.util.NumericUtils;
/**
* An indexed {@code double} field.
* An indexed {@code double} field for fast range filters. If you also
* need to store the value, you should add a separate {@link StoredField} instance.
* <p>
* Finding all documents within an N-dimensional shape or range at search time is
* efficient. Multiple values for the same field in one document

View File

@ -27,7 +27,8 @@ import org.apache.lucene.util.BytesRef;
import org.apache.lucene.util.NumericUtils;
/**
* An indexed {@code float} field.
* An indexed {@code float} field for fast range filters. If you also
* need to store the value, you should add a separate {@link StoredField} instance.
* <p>
* Finding all documents within an N-dimensional at search time is
* efficient. Multiple values for the same field in one document

View File

@ -27,7 +27,8 @@ import org.apache.lucene.util.BytesRef;
import org.apache.lucene.util.NumericUtils;
/**
* An indexed {@code int} field.
* An indexed {@code int} field for fast range filters. If you also
* need to store the value, you should add a separate {@link StoredField} instance.
* <p>
* Finding all documents within an N-dimensional shape or range at search time is
* efficient. Multiple values for the same field in one document

View File

@ -27,7 +27,8 @@ import org.apache.lucene.util.BytesRef;
import org.apache.lucene.util.NumericUtils;
/**
* An indexed {@code long} field.
* An indexed {@code long} field for fast range filters. If you also
* need to store the value, you should add a separate {@link StoredField} instance.
* <p>
* Finding all documents within an N-dimensional shape or range at search time is
* efficient. Multiple values for the same field in one document