lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erick Erickson (JIRA)" <>
Subject [jira] [Commented] (LUCENE-4369) StringFields name is unintuitive and not helpful
Date Wed, 12 Sep 2012 18:55:08 GMT


Erick Erickson commented on LUCENE-4369:


bq: ...I don't think we should underestimate Lucene users to the point that they don't understand
what an Analyzer...

I absolutely agree with you about _Lucene_ users, but I disagree when we're talking about
_Solr_ users who are just using the schema.xml file. I flat guarantee that they don't always
look under the covers. I've seen way more than one site with "solr rocks" as the first/newSearchers.....

But all that said, I'm not doing the work so whatever gets chosen is fine with me.
> StringFields name is unintuitive and not helpful
> ------------------------------------------------
>                 Key: LUCENE-4369
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>         Attachments: LUCENE-4369.patch
> There's a huge difference between TextField and StringField, StringField screws up scoring
and bypasses your Analyzer.
> (see java-user thread "Custom Analyzer Not Called When Indexing" as an example.)
> The name we use here is vital, otherwise people will get bad results.
> I think we should rename StringField to MatchOnlyField.

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

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

View raw message