How to sort search result by Last modified date of document

1 view
Skip to first unread message

Rahul

unread,
May 9, 2013, 12:52:21 AM5/9/13
to Google-Search-...@googlegroups.com
hi,

I have some documents which I periodically change. What should I do to bring the result which shows the Last modified document on the top of the search result.
What should I put in default query attribute.

In test center the result comes by Relevancy and there is option Sort by date. I want the result should come by default  sort by date only.

Please suggest how to do that.

thanks,
Rahul

Jeremy Garreau

unread,
May 10, 2013, 8:34:03 AM5/10/13
to Google-Search-...@googlegroups.com
change sort parameter value in the default URL

Rahul

unread,
May 14, 2013, 6:53:20 AM5/14/13
to Google-Search-...@googlegroups.com
I have not provided the default URL. Basically, when i search in test center of GSA it gives me result by relevancy and then I click Sort By Date ( Sort By Date / Sort By Relevancy ) from right side of search result,then
it shows result as per last modified date. But I want by default it should show result Sort by Date.

What should I do to work like that?

Dave Watts

unread,
May 14, 2013, 10:33:57 AM5/14/13
to Google-Search-...@googlegroups.com
> I have not provided the default URL. Basically, when i search in test center
> of GSA it gives me result by relevancy and then I click Sort By Date ( Sort
> By Date / Sort By Relevancy ) from right side of search result,then
> it shows result as per last modified date. But I want by default it should
> show result Sort by Date.
>
> What should I do to work like that?

Like Jeremy said: change the sort parameter in the default URL - the
URL that people will go to in order to run the search. Don't worry
about how things work in the test center, worry about how they work
for your actual users. The behavior of the search is controlled by the
URL parameters sent to the appliance.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.
Reply all
Reply to author
Forward
0 new messages