I am trying to implement SOSL list view search and this is sort of follow up question.
I am trying this query in from Apex and getting error in title:
System.debug(
Search.find('FIND \'foo\' IN ALL FIELDS RETURNING Account(Id, Name USING LISTVIEW=MyNameScpace__foo)')
);
Side question - what is the difference between search.find and search.query?