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

ASF subversion and git services commented on LUCENE-7073:
---------------------------------------------------------

Commit 3bb2b25d5fa37768f191043dfe2cd82248c46a4a in lucene-solr's branch 
refs/heads/branch_6_0 from [~rcmuir]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=3bb2b25 ]

LUCENE-7073: fix FieldType issues with Points


> FieldType problems with Points
> ------------------------------
>
>                 Key: LUCENE-7073
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7073
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>             Fix For: master, 6.0
>
>         Attachments: LUCENE-7073.patch, LUCENE-7073.patch, LUCENE-7073.patch
>
>
> The "copy constructor" is buggy and ignores the incoming points properties, 
> because of a bug:
> {code}
>   public FieldType(FieldType ref) {
>     ...
>     // these two assignments have no effect. 
>     this.dimensionCount = dimensionCount;
>     this.dimensionNumBytes = dimensionNumBytes;
> {code}
> Another issue is that tokenized() returns true for all these point fields, 
> which is bogus, and it confuses things like transitioning to points in some 
> benchmark code (trying to clean up places still using LegacyNumeric* !!!). 
> This code checks if (tokenized()) { try to use tokenstream }



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

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

Reply via email to