Add include to CloudSearch in CLoudBoost

70 views Asked by At

I'm trying to do the same as

query = new CB.CloudQuery('Class');
query.include('columnName');

But using CloudSearch, SearchQuery or SearchFilter. Is it possible? For example:

var cs = new CB.CloudSearch(Class);
cs.searchFilter = new CB.SearchFilter();
cs.searchQuery = new CB.SearchQuery();

cs.include('columnName');
// or
cs.searchQuery.include('columnName');

Thanks!

1

There are 1 answers

0
Nawaz Dhandala On BEST ANSWER

It's actually, cs.searchFilter.include('columnName');