PHP Classes
elePHPant
Icontem

add order by date on search

Recommend this page to a friend!

      Top level forums  >  Site  >  Features  >  add order by date on search  >  (Un) Subscribe thread alerts  
Subject:add order by date on search
Summary:please add order by last modified date
Messages:6
Author:Ionut Marinescu
Date:2013-07-06 11:22:35
Update:2016-10-29 06:11:07
 

  1. add order by date on search   Reply   Report abuse  
Ionut Marinescu - 2013-07-06 11:47:50
please add order by last modified date when searching for classes

  2. Re: add order by date on search   Reply   Report abuse  
Manuel Lemos - 2013-07-06 11:49:20 - In reply to message 1 from Ionut Marinescu
The current search system is very limited. It will be replaced by a better one. I just cannot determine yet when it will happen, but it will certainly address that and other limitations.

  3. Re: add order by date on search   Reply   Report abuse  
Ionut Marinescu - 2016-09-14 03:08:33 - In reply to message 2 from Manuel Lemos
is almost the end of 2016 any news on this one ?

  4. Re: add order by date on search   Reply   Report abuse  
Manuel Lemos - 2016-09-14 06:45:30 - In reply to message 3 from Ionut Marinescu
Sorry for not following up. There was a tweak in that direction but it was not yet adding an option as you suggested. Let me explain what was improved.

After checking the documentation I noticed that the search results are already sorted by a weight factor that includes relevance and page date.

Also, in the package search result pages you can see a date which is the last time the package page was updated.

So despite it is not yet an explicit sort option, since it considers the package update date in the search weight factor, I hope it helps. What do you think?

  5. Re: add order by date on search   Reply   Report abuse  
Ionut Marinescu - 2016-09-14 18:47:20 - In reply to message 4 from Manuel Lemos
hi Manuel,

thanks for responding

i tried a search for "tree" (cold be any other keyword) for example and most of the results from the first page are from 2010 or less.

i can't talk about the quality of the code from the classes (didn't test), but based on the advances from php most of those classes are irelevant in 2016 (or usable just as ideas)

so a select with two options "order by relevance" and "new first" would be great.

  6. Re: add order by date on search   Reply   Report abuse  
Manuel Lemos - 2016-10-29 06:11:07 - In reply to message 5 from Ionut Marinescu
Sorry for the delay. I changed the date factor for the searches. So now it considers also the date of last class files update as a factor to weight besides keyword relevance and inbound links.

It does not always sort by date but that is one of the factors. Just let me know if it looks better.