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

ASF subversion and git services commented on SOLR-16059:
--------------------------------------------------------

Commit bb85382c3bef10fda52e5a26bb8e2d15b01a662f in solr's branch 
refs/heads/main from Dawid Weiss
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=bb85382 ]

SOLR-16059: FieldType.DefaultAnalyzer: correct reader.read() loop and… (#712)

SOLR-16059: FieldType.DefaultAnalyzer: correct reader.read() loop and emit 
final offset properly.

> FieldType.DefaultAnalyzer issues incorrect final offset (and has broken 
> buffer read)
> ------------------------------------------------------------------------------------
>
>                 Key: SOLR-16059
>                 URL: https://issues.apache.org/jira/browse/SOLR-16059
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Dawid Weiss
>            Assignee: Dawid Weiss
>            Priority: Minor
>             Fix For: main (10.0)
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> FieldType.DefaultAnalyzer (used as a default in many field types) has a 
> broken implementation that doesn't finalize the offset attribute. It also 
> uses an incorrect assumption that reader.read(buffer, offset, length) is 
> always reading fully up until length (it is not required to).



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to