[ 
https://issues.apache.org/jira/browse/SOLR-13552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joel Bernstein updated SOLR-13552:
----------------------------------
    Description: 
The *recNum* Stream Evaluator will return the index of the tuple in the stream. 
It is designed to be used with the *select* expression to append the index of 
the tuple to tuples in the stream.

Syntax:
{code:java}
having(select(search(testapp),
              id,
              recNum() as recNum),
       and(gt(recNum, 3), lt(recNum, 6))){code}

  was:
The *recNum* Stream Evaluator will return the index of the tuple in the stream. 
It is designed to be used with the *select* expression to append the index of 
the tuple to tuples in the stream.

Syntax:
{code:java}
select(search(),
       id,
       title,
       recNum() as recNum){code}


> Add recNum Stream Evaluator
> ---------------------------
>
>                 Key: SOLR-13552
>                 URL: https://issues.apache.org/jira/browse/SOLR-13552
>             Project: Solr
>          Issue Type: New Feature
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: streaming expressions
>            Reporter: Joel Bernstein
>            Priority: Major
>
> The *recNum* Stream Evaluator will return the index of the tuple in the 
> stream. It is designed to be used with the *select* expression to append the 
> index of the tuple to tuples in the stream.
> Syntax:
> {code:java}
> having(select(search(testapp),
>               id,
>               recNum() as recNum),
>        and(gt(recNum, 3), lt(recNum, 6))){code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to