So it will become:
select(
search(..),
conceptid as foo,
storeid as bar
append(conceptid, storeid) as id
)
Or
select
select(
search(..),
conceptid as foo,
storeid as bar
),
foo,
bar,
append(foo,bar) as id
)
> On Jun 27, 2018, at 1:12 PM, Aroop Ganguly <[email protected]> wrote:
>
> this test case here will help in understanding the usage:
> https://github.com/apache/lucene-solr/blob/branch_7_2/solr/solrj/src/test/org/apache/solr/client/solrj/io/stream/eval/AppendEvaluatorTest.java
>
> <https://github.com/apache/lucene-solr/blob/branch_7_2/solr/solrj/src/test/org/apache/solr/client/solrj/io/stream/eval/AppendEvaluatorTest.java>
>
>> On Jun 27, 2018, at 1:07 PM, Aroop Ganguly <[email protected]> wrote:
>>
>> I think u can use the append evaluator
>> https://github.com/apache/lucene-solr/blob/master/solr/solrj/src/java/org/apache/solr/client/solrj/io/eval/AppendEvaluator.java
>>
>> <https://github.com/apache/lucene-solr/blob/master/solr/solrj/src/java/org/apache/solr/client/solrj/io/eval/AppendEvaluator.java>
>>
>>
>>> On Jun 27, 2018, at 12:58 PM, Pratik Patel <[email protected]> wrote:
>>>
>>> Hello,
>>>
>>> Is there a function which can be used in Streaming Expressions to
>>> concatenate two strings? I want to use it just like add(1,2) in a Streaming
>>> Expression. Essentially, I want to achieve something as follows.
>>>
>>> select(
>>> search(..),
>>> conceptid as foo,
>>> storeid as bar
>>> concat(foo,bar) as id
>>> )
>>>
>>> I can use merge() function but my streaming expression is quite complex and
>>> that will make it even more complex as that would be a round about way of
>>> doing it. Any idea how this can be achieved?
>>>
>>> Thanks,
>>> Pratik
>>
>