lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <>
Subject [jira] [Created] (LUCENE-7073) FieldType problems with Points
Date Mon, 07 Mar 2016 16:49:40 GMT
Robert Muir created LUCENE-7073:

             Summary: FieldType problems with Points
                 Key: LUCENE-7073
             Project: Lucene - Core
          Issue Type: Bug
            Reporter: Robert Muir

The "copy constructor" is buggy and ignores the incoming points properties, because of a bug:

  public FieldType(FieldType ref) {
    // these two assignments have no effect. 
    this.dimensionCount = dimensionCount;
    this.dimensionNumBytes = dimensionNumBytes;

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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message