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

Adrien Grand updated LUCENE-7232:
---------------------------------
    Attachment: LUCENE-7232.patch

Here is a patch.

> 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
>         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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to