[
https://issues.apache.org/jira/browse/LUCENE-5472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael McCandless updated LUCENE-5472:
---------------------------------------
Attachment: LUCENE-5472.patch
Thanks Hoss!
I tweaked the patch a bit, to get the field name into the exc message, and
moved where we throw the exception. I also fixed testWickedLongTerm to verify
the exc is thrown, but other documents just indexed are not lost.
> Long terms should generate a RuntimeException, not just infoStream
> ------------------------------------------------------------------
>
> Key: LUCENE-5472
> URL: https://issues.apache.org/jira/browse/LUCENE-5472
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Hoss Man
> Attachments: LUCENE-5472.patch, LUCENE-5472.patch
>
>
> As reported on the solr-user list, when a term is greater then 2^15 bytes it
> is silently ignored at indexing time -- a message is logged in to infoStream
> if enabled, but no error is thrown.
> seems like we should change this behavior (if nothing else starting in 5.0)
> to throw an exception.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]