Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-4369

StringFields name is unintuitive and not helpful

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      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.

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rcmuir Robert Muir

              Dates

              • Created:
                Updated:

                Issue deployment