lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <>
Subject [jira] [Created] (LUCENE-4178) FieldType.setTokenized shoudl be true by default
Date Thu, 28 Jun 2012 12:57:44 GMT
Robert Muir created LUCENE-4178:

             Summary: FieldType.setTokenized shoudl be true by default
                 Key: LUCENE-4178
             Project: Lucene - Java
          Issue Type: Bug
    Affects Versions: 4.0
            Reporter: Robert Muir

This is really confusing, see LUCENE-4176 where a user hit this.

The example code from the user there reads:
FieldType fieldType = new FieldType();

Its really trappy that this does not invoke the analyzer: because historically we did this
unless you specified NOT_ANALYZED. 

So i think fieldType.setTokenized(true) should be the default: things like StringField can
turn it off.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


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

View raw message