You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Adrien Grand (JIRA)" <ji...@apache.org> on 2016/04/20 15:17:25 UTC

[jira] [Resolved] (LUCENE-7232) InetAddressPoint.newPrefixQuery is not correct when prefixLength is not a multiple of 8

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

Adrien Grand resolved LUCENE-7232.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 6.0.1
                   6.1
                   master

> InetAddressPoint.newPrefixQuery is not correct when prefixLength is not a multiple of 8
> ---------------------------------------------------------------------------------------
>
>                 Key: LUCENE-7232
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7232
>             Project: Lucene - Core
>          Issue Type: Bug
>    Affects Versions: 6.0
>            Reporter: Adrien Grand
>            Assignee: Adrien Grand
>            Priority: Minor
>             Fix For: master, 6.1, 6.0.1
>
>         Attachments: LUCENE-7232.patch
>
>
> The reason is that it applies masks on individual bytes in the wrong order: it goes from the lower bits to the upper bits instead of the opposite.



--
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