Skip to content

MoreLikeThis incorrectly does toString on Field object [LUCENE-7354] #8408

@asfimport

Description

@asfimport

In MoreLikeThis.java, circa line 763, when calling addTermFrequencies on a Field object, we are incorrectly calling toString on the Field object, which puts the Field attributes (indexed, stored, et. al) into the String that is returned.

I'll put up a patch/fix shortly.


Migrated from LUCENE-7354 by Grant Ingersoll (@gsingers), updated Jul 01 2016
Attachments: LUCENE-7354-mlt-fix

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions