You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Wojciech Stryszyk (JIRA)" <ji...@apache.org> on 2016/11/15 13:26:58 UTC

[jira] [Updated] (SOLR-9768) RecordingJsonParser produce incomplete json when updated document stream is larger than input parser buffer size

     [ https://issues.apache.org/jira/browse/SOLR-9768?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wojciech Stryszyk updated SOLR-9768:
------------------------------------
    Attachment: SOLR_9768_RecordingJsonParser_test.patch
                SOLR_9768_RecordingJsonParser_fix.patch

> RecordingJsonParser produce incomplete json when updated document stream is larger than input parser buffer size
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-9768
>                 URL: https://issues.apache.org/jira/browse/SOLR-9768
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: update
>    Affects Versions: 6.1, 6.2, 6.3
>            Reporter: Wojciech Stryszyk
>            Priority: Minor
>              Labels: json, parsing, update_request_handler
>         Attachments: SOLR_9768_RecordingJsonParser_fix.patch, SOLR_9768_RecordingJsonParser_test.patch
>
>
> While using srcField, RecordingJsonParser produce incomplete json when updated document stream is larger than buffer size (8192). 
> Fast fix is to align all documents in stream to buffer size. Another is attached in patch bellow.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org