You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2012/06/28 14:57:44 UTC
[jira] [Created] (LUCENE-4178) FieldType.setTokenized shoudl be
true by default
Robert Muir created LUCENE-4178:
-----------------------------------
Summary: FieldType.setTokenized shoudl be true by default
Key: LUCENE-4178
URL: https://issues.apache.org/jira/browse/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:
{code}
FieldType fieldType = new FieldType();
fieldType.setIndexed(true);
fieldType.setStored(true);
{code}
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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Resolved] (LUCENE-4178) FieldType.setTokenized shoudl be
true by default
Posted by "Robert Muir (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-4178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Muir resolved LUCENE-4178.
---------------------------------
Resolution: Fixed
Fix Version/s: 5.0
4.0
> FieldType.setTokenized shoudl be true by default
> ------------------------------------------------
>
> Key: LUCENE-4178
> URL: https://issues.apache.org/jira/browse/LUCENE-4178
> Project: Lucene - Java
> Issue Type: Bug
> Affects Versions: 4.0
> Reporter: Robert Muir
> Fix For: 4.0, 5.0
>
> Attachments: LUCENE-4178.patch
>
>
> This is really confusing, see LUCENE-4176 where a user hit this.
> The example code from the user there reads:
> {code}
> FieldType fieldType = new FieldType();
> fieldType.setIndexed(true);
> fieldType.setStored(true);
> {code}
> 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Commented] (LUCENE-4178) FieldType.setTokenized shoudl be
true by default
Posted by "Michael McCandless (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-4178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13403255#comment-13403255 ]
Michael McCandless commented on LUCENE-4178:
--------------------------------------------
+1
> FieldType.setTokenized shoudl be true by default
> ------------------------------------------------
>
> Key: LUCENE-4178
> URL: https://issues.apache.org/jira/browse/LUCENE-4178
> Project: Lucene - Java
> Issue Type: Bug
> Affects Versions: 4.0
> Reporter: Robert Muir
> Attachments: LUCENE-4178.patch
>
>
> This is really confusing, see LUCENE-4176 where a user hit this.
> The example code from the user there reads:
> {code}
> FieldType fieldType = new FieldType();
> fieldType.setIndexed(true);
> fieldType.setStored(true);
> {code}
> 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Commented] (LUCENE-4178) FieldType.setTokenized shoudl be
true by default
Posted by "Chris Male (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-4178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13403083#comment-13403083 ]
Chris Male commented on LUCENE-4178:
------------------------------------
+1
> FieldType.setTokenized shoudl be true by default
> ------------------------------------------------
>
> Key: LUCENE-4178
> URL: https://issues.apache.org/jira/browse/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:
> {code}
> FieldType fieldType = new FieldType();
> fieldType.setIndexed(true);
> fieldType.setStored(true);
> {code}
> 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Updated] (LUCENE-4178) FieldType.setTokenized shoudl be
true by default
Posted by "Robert Muir (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-4178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Muir updated LUCENE-4178:
--------------------------------
Attachment: LUCENE-4178.patch
> FieldType.setTokenized shoudl be true by default
> ------------------------------------------------
>
> Key: LUCENE-4178
> URL: https://issues.apache.org/jira/browse/LUCENE-4178
> Project: Lucene - Java
> Issue Type: Bug
> Affects Versions: 4.0
> Reporter: Robert Muir
> Attachments: LUCENE-4178.patch
>
>
> This is really confusing, see LUCENE-4176 where a user hit this.
> The example code from the user there reads:
> {code}
> FieldType fieldType = new FieldType();
> fieldType.setIndexed(true);
> fieldType.setStored(true);
> {code}
> 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Commented] (LUCENE-4178) FieldType.setTokenized shoudl be
true by default
Posted by "Chris Male (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-4178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13403096#comment-13403096 ]
Chris Male commented on LUCENE-4178:
------------------------------------
+1
> FieldType.setTokenized shoudl be true by default
> ------------------------------------------------
>
> Key: LUCENE-4178
> URL: https://issues.apache.org/jira/browse/LUCENE-4178
> Project: Lucene - Java
> Issue Type: Bug
> Affects Versions: 4.0
> Reporter: Robert Muir
> Attachments: LUCENE-4178.patch
>
>
> This is really confusing, see LUCENE-4176 where a user hit this.
> The example code from the user there reads:
> {code}
> FieldType fieldType = new FieldType();
> fieldType.setIndexed(true);
> fieldType.setStored(true);
> {code}
> 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org