lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Grant Ingersoll (JIRA)" <>
Subject [jira] [Commented] (LUCENE-7354) MoreLikeThis incorrectly does toString on Field object
Date Fri, 01 Jul 2016 20:19:11 GMT


Grant Ingersoll commented on LUCENE-7354:

OK, more detail:

In my standalone server, I have a collection that has a single shard (I created it using bin/solr
create_collection).  The test has 2 shards, which then invokes RealTimeGetComponent.createSubRequests()
which then adds an "ids" params, which is what then causes the the else clause cited above
to get invoked.

[] can you provide some insight?  (Most of the code was written by you)

> MoreLikeThis incorrectly does toString on Field object
> ------------------------------------------------------
>                 Key: LUCENE-7354
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Bug
>    Affects Versions: 6.0.1, 5.5.1, master (7.0)
>            Reporter: Grant Ingersoll
>            Assignee: Grant Ingersoll
>            Priority: Minor
>         Attachments: LUCENE-7354-mlt-fix
> In, 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.

This message was sent by Atlassian JIRA

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

View raw message