Wed Oct 28, 2020 7:17 pm
Login Register Lost Password? Contact Us


Publishing half-keyed search query to Roxie

Questions and comments regarding the Online Lessons should be posted here.

Fri Oct 18, 2013 5:26 am Change Time Zone

In Lab Exercise No.12, we publish results of a half-keyed search query to Roxie.

What is the difference between RETURNing a dataset vs. returning OUTPUT(dataset), as function result, to Roxie?
Gayathri_Jayaraman
 
Posts: 75
Joined: Wed May 08, 2013 5:03 am

Fri Oct 18, 2013 12:20 pm Change Time Zone

What is the difference between RETURNing a dataset vs. returning OUTPUT(dataset), as function result, to Roxie?


Hi Gayathri,

RETURNing a DATASET will return all fields and all records of the DATASET unconditionally (unless you apply a filter to the DATASET itself).

OUTPUT is available to give you a little more flexibility, as you can control the format of the output in the second parameter.

So you can return a partial number of fields from the dataset, only the ones that are interesting to you, instead of all them.

HTH,

Bob :-)
bforeman
Community Advisory Board Member
Community Advisory Board Member
 
Posts: 1002
Joined: Wed Jun 29, 2011 7:13 pm


Return to Online Classroom

Who is online

Users browsing this forum: No registered users and 1 guest