Ignore:
Timestamp:
Jan 20, 2006, 3:34:37 PM (18 years ago)
Author:
plg
Message:

Search engine redesign, first part :

  • new table #search to store search rules associated to a search id.
  • search rules are not passed through GET anymore, the search array build in search.php is serialized in #search table, so no need to rebuild it in function include/functions_category.inc.php::category_initialize
  • search array build code is improved (efficiency and layout) in search.php
  • SQL related to search is build in a dedicated function include/functions::get_sql_search_clause
  • direct search author:<...>, date_avalaible:<...>, date_creation:<...>, keywords:<...> from picture.php are not available anymore. They will come back later, with improvement (new design). Same for date_*:<> in calendar calendar category.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/install/phpwebgallery_structure.sql

    r1004 r1008  
    178178
    179179--
     180-- Table structure for table `phpwebgallery_search`
     181--
     182
     183DROP TABLE IF EXISTS `phpwebgallery_search`;
     184CREATE TABLE `phpwebgallery_search` (
     185  `id` int(10) unsigned NOT NULL auto_increment,
     186  `last_seen` date default NULL,
     187  `rules` text,
     188  PRIMARY KEY  (`id`)
     189) TYPE=MyISAM;
     190
     191--
    180192-- Table structure for table `phpwebgallery_sessions`
    181193--
Note: See TracChangeset for help on using the changeset viewer.