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 <pra...@semandex.net> 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

Reply via email to