[
https://issues.apache.org/jira/browse/SOLR-9288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15387690#comment-15387690
]
ASF subversion and git services commented on SOLR-9288:
-------------------------------------------------------
Commit 08019f42889a537764384429c4184515d233a2cb in lucene-solr's branch
refs/heads/apiv2 from Chris Hostetter
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=08019f4 ]
SOLR-9288: Fix [docid] transformer to return -1 when used in RTG with
uncommitted doc
> RTG: fl=[docid] silently missing for uncommitted docs
> -----------------------------------------------------
>
> Key: SOLR-9288
> URL: https://issues.apache.org/jira/browse/SOLR-9288
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Hoss Man
> Assignee: Hoss Man
> Fix For: 6.2, master (7.0)
>
> Attachments: SOLR-9288.patch
>
>
> Found in SOLR-9180 testing.
> when using RTG in a single node solr install, the {{\[docid\]}} transformer
> works for committed docs, but is silently missing from uncommited docs.
> this inconsistency is confusing. It seems like even if there is no valid
> docid to return in this case, the key should still be present in the
> resulting doc.
> I would suggest using either {{null}} or {{-1}} in this case?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]