Either like this results in blank page:
      options = new google.search.SearcherOptions();
 
options.setExpandMode(google.search.SearchControl.EXPAND_MODE_OPEN);
     options.setResultOrder(google.search.Search.ORDER_BY_DATE);
     var searchControl = new google.search.SearchControl();
    searchControl.setResultSetSize
(google.search.Search.LARGE_RESULTSET);

or like this:
      options = new google.search.SearcherOptions();
 
options.setExpandMode(google.search.SearchControl.EXPAND_MODE_OPEN);
     var searchControl = new google.search.SearchControl();
    searchControl.setResultSetSize
(google.search.Search.LARGE_RESULTSET);
    searchControl.setResultOrder(google.search.Search.ORDER_BY_DATE);

Is setResultOrder(google.search.Search.ORDER_BY_DATE) correct to use
or is it not working at all?
How to get ordering by date otherwise?

Niek van Baalen

-- 
You received this message because you are subscribed to the Google Groups 
"Google AJAX APIs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-ajax-search-api?hl=en.

Reply via email to