mirror of https://github.com/apache/lucene.git
- Applied Yonik's patch from http://issues.apache.org/jira/browse/LUCENE-441
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@331964 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2ce046a7a6
commit
495e885eee
|
@ -62,6 +62,10 @@ Changes in runtime behavior
|
||||||
disableLuceneLocks
|
disableLuceneLocks
|
||||||
(Daniel Naber)
|
(Daniel Naber)
|
||||||
|
|
||||||
|
8. Minor change in FieldCacheImpl to make it use its own IntParser and
|
||||||
|
FloatParser inner classes.
|
||||||
|
(Yonik Seeley via Otis Gospodnetic)
|
||||||
|
|
||||||
New features
|
New features
|
||||||
|
|
||||||
1. Added support for stored compressed fields (patch #31149)
|
1. Added support for stored compressed fields (patch #31149)
|
||||||
|
|
|
@ -164,7 +164,7 @@ implements FieldCache {
|
||||||
do {
|
do {
|
||||||
Term term = termEnum.term();
|
Term term = termEnum.term();
|
||||||
if (term.field() != field) break;
|
if (term.field() != field) break;
|
||||||
int termval = Integer.parseInt (term.text());
|
int termval = parser.parseInt(term.text());
|
||||||
termDocs.seek (termEnum);
|
termDocs.seek (termEnum);
|
||||||
while (termDocs.next()) {
|
while (termDocs.next()) {
|
||||||
retArray[termDocs.doc()] = termval;
|
retArray[termDocs.doc()] = termval;
|
||||||
|
@ -204,7 +204,7 @@ implements FieldCache {
|
||||||
do {
|
do {
|
||||||
Term term = termEnum.term();
|
Term term = termEnum.term();
|
||||||
if (term.field() != field) break;
|
if (term.field() != field) break;
|
||||||
float termval = Float.parseFloat (term.text());
|
float termval = parser.parseFloat(term.text());
|
||||||
termDocs.seek (termEnum);
|
termDocs.seek (termEnum);
|
||||||
while (termDocs.next()) {
|
while (termDocs.next()) {
|
||||||
retArray[termDocs.doc()] = termval;
|
retArray[termDocs.doc()] = termval;
|
||||||
|
|
Loading…
Reference in New Issue