You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Andrzej Bialecki (JIRA)" <ji...@apache.org> on 2016/11/30 09:49:59 UTC
[jira] [Resolved] (SOLR-9768) RecordingJsonParser produces
incomplete json when updated document stream is larger than input parser's
buffer size
[ https://issues.apache.org/jira/browse/SOLR-9768?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrzej Bialecki resolved SOLR-9768.
-------------------------------------
Resolution: Fixed
[~wstryszyk]: thank you for the patch and the unit test! The fix has been committed to master and to branch_6x (to become 6.4).
> RecordingJsonParser produces incomplete json when updated document stream is larger than input parser's 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
> Assignee: Andrzej Bialecki
> Priority: Minor
> Labels: json, parsing, update_request_handler
> Fix For: 6.4
>
> 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