PHP Classes

Last update date in search index

Recommend this page to a friend!

      PHP Classes blog  >  Quickly Finding the B...  >  All threads  >  Last update date in search index  >  (Un) Subscribe thread alerts  
Subject:Last update date in search index
Summary:To see last update of packages in search index and sort by it
Messages:3
Author:dewa
Date:2016-02-29 23:21:17
Update:2016-03-02 09:13:18
 

  1. Last update date in search index   Reply   Report abuse  
dewa - 2016-03-01 00:31:14
I would love to see a date of last package's update in search index and also you can sort by this date. A 2004 release and last update package, IMHO, is mostly irrelevant to today's PHP environment.

Thank you.

  2. Re: Last update date in search index   Reply   Report abuse  
Manuel Lemos - 2016-03-01 01:22:18 - In reply to message 1 from dewa
Showing the last update date in the results is easy.

As for sorting by date, it may be possible. The site uses an external indexing and searching program. I need to figure where it takes the pages dates.

Anyway, if the site sorts it by date, it may happen that the latest packages may not be the most relevant for the search keywords you entered. So I may not make the date the default sorting method. Maybe I just make it an option.

  3. Re: Last update date in search index   Reply   Report abuse  
Manuel Lemos - 2016-03-02 09:13:18 - In reply to message 1 from dewa
OK, I just made the last updated date appear in the search results for package pages.

It does not show the correct date yet but it will show tomorrow after the next package results indexing process is finished.

Just let me know if this is helpful already.

As for sorting the results considering the last update date, it seems the algorithm already gives weight to most recent pages, so it may not be so important sorting for the last updated package.

Anyway, I can add last update sorting options or even adjust the weight of the last update factor in the algorithm. Just let me know if you feel it would help.

 

For more information send a message to info at phpclasses dot org.