[
https://issues.apache.org/jira/browse/LUCENE-7289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15305950#comment-15305950
]
Steve Rowe commented on LUCENE-7289:
------------------------------------
Another Policeman Jenkins failure
[http://jenkins.thetaphi.de/job/Lucene-Solr-master-Linux/16855/]:
{noformat}
Checking out Revision e37e49ed46c42da4ea4fbd74f08de1ba10af7923
(refs/remotes/origin/master)
[...]
[junit4] Suite: org.apache.lucene.document.TestHalfFloatPoint
[junit4] 2> NOTE: reproduce with: ant test -Dtestcase=TestHalfFloatPoint
-Dtests.method=testRounding -Dtests.seed=6E981C558222E704 -Dtests.multiplier=3
-Dtests.slow=true -Dtests.locale=fr-TN -Dtests.timezone=Asia/Chungking
-Dtests.asserts=true -Dtests.file.encoding=ISO-8859-1
[junit4] FAILURE 1.96s J0 | TestHalfFloatPoint.testRounding <<<
[junit4] > Throwable #1: java.lang.AssertionError
[junit4] > at
__randomizedtesting.SeedInfo.seed([6E981C558222E704:8BAADD8CC6A5609B]:0)
[junit4] > at
org.apache.lucene.document.TestHalfFloatPoint.testRounding(TestHalfFloatPoint.java:108)
[junit4] > at
jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native
Method)
[junit4] > at
jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62)
[junit4] > at
jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43)
[junit4] > at java.lang.Thread.run(java.base@9-ea/Thread.java:804)
[junit4] 2> NOTE: test params are: codec=Asserting(Lucene62): {},
docValues:{}, maxPointsInLeafNode=1527, maxMBSortInHeap=5.324930696938892,
sim=ClassicSimilarity, locale=fr-TN, timezone=Asia/Chungking
[junit4] 2> NOTE: Linux 4.4.0-21-generic amd64/Oracle Corporation 9-ea
(64-bit)/cpus=12,threads=1,free=387676224,total=508887040
[junit4] 2> NOTE: All tests run in this JVM: [FuzzyLikeThisQueryTest,
TestDocValuesNumbersQuery, TestLatLonPointDistanceSort, TestBigIntegerPoint,
TestHalfFloatPoint]
[junit4] Completed [15/18 (1!)] on J0 in 2.06s, 9 tests, 1 failure <<<
FAILURES!
{noformat}
> Half floats
> -----------
>
> Key: LUCENE-7289
> URL: https://issues.apache.org/jira/browse/LUCENE-7289
> Project: Lucene - Core
> Issue Type: New Feature
> Reporter: Adrien Grand
> Assignee: Adrien Grand
> Priority: Minor
> Fix For: 6.1, master (7.0)
>
> Attachments: LUCENE-7289.patch, LUCENE-7289.patch
>
>
> When it comes to indexing floating-point data, doubles and floats are quite
> space-intensive even though full precision is rarely needed. So maybe we
> should consider exposing half floats?
> Half floats have 5 bits for the exponent and 11 bits (including the implicit
> bit) for the mantissa so the minimum value is ~6x10^−8^, the maximum is
> 65504 and they can represent all integers between -2048 and 2048 accurately.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]