[
https://issues.apache.org/jira/browse/SOLR-5698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13892586#comment-13892586
]
Michael McCandless commented on SOLR-5698:
------------------------------------------
bq. If you think we should convert this to a LUCENE issue and throw a
RuntimeException i'm all for that.
+1
I don't think this leniency is good: it hides that your app is indexing trash.
> exceptionally long terms are silently ignored during indexing
> -------------------------------------------------------------
>
> Key: SOLR-5698
> URL: https://issues.apache.org/jira/browse/SOLR-5698
> Project: Solr
> Issue Type: Bug
> Reporter: Hoss Man
>
> As reported on the user list, when a term is greater then 2^15 bytes it is
> silently ignored at indexing time -- no error is given at all.
> we should investigate:
> * if there is a way to get the lower level lucene code to propogate up an
> error we can return to the user instead of silently ignoring these terms
> * if there is no way to generate a low level error:
> ** is there at least way to make this limit configurable so it's more obvious
> to users that this limit exists?
> ** should we make things like StrField do explicit size checking on the terms
> they produce and explicitly throw their own error?
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]