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

Hoss Man commented on SOLR-5698:
--------------------------------

bq. I think Lucene should just throw an exc when this happens? ... (it isn't a 
different thread)

I wasn't entire sure about that -- and since it currently does an infoStream 
but does *not* throw an exception, i assumed that was because of the threading.

If you think we should convert this to a LUCENE issue and throw a 
RuntimeException i'm all for that.



> 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