[ 
https://issues.apache.org/jira/browse/SOLR-5698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13892460#comment-13892460
 ] 

Michael McCandless commented on SOLR-5698:
------------------------------------------

Actually, I think Lucene should just throw an exc when this happens?  DWPT 
should be the right place (it isn't a different thread)...

Separately this limit is absurdly large

> 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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to