lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cassandra Targett (JIRA)" <>
Subject [jira] [Commented] (SOLR-10933) LetStream variables are not evaluated in proper order
Date Mon, 05 Mar 2018 17:19:00 GMT


Cassandra Targett commented on SOLR-10933:

[~joel.bernstein], looks like you made some commits to this some months ago, can it be resolved?

> LetStream variables are not evaluated in proper order
> -----------------------------------------------------
>                 Key: SOLR-10933
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: streaming expressions
>            Reporter: Joel Bernstein
>            Assignee: Joel Bernstein
>            Priority: Major
>             Fix For: 6.7, 7.0
>         Attachments: SOLR-10933.patch
> The LetStream is currently using a HashMap to hold its variable mappings. This is problematic
because the ordering of the variables will be lost as they are evaluated. The test cases pass
currently because single letter variables in ascending order are used which by luck caused
the variables to be evaluated in order.
> There is a very simple fix for this which is to use a LinkedHashMap to hold the variables
to ensure they are evaluated in the order that they are received.

This message was sent by Atlassian JIRA

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

View raw message