Publishing half-keyed search query to Roxie
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?
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
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
- Posts: 1006
- Joined: Wed Jun 29, 2011 7:13 pm
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest