Changeset 92134 in spip-zone


Ignore:
Timestamp:
Oct 1, 2015, 8:34:50 AM (6 years ago)
Author:
fil@…
Message:

date d'indexation; attention if faut recreer l'index ou lancer la commande
ALTER TABLE spip ADD COLUMN date_indexation BIGINT

Location:
_plugins_/indexer/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/indexer/trunk/doc/Configuration Sphinx.md

    r82926 r92134  
    1717
    1818        rt_attr_timestamp     = date
     19        rt_attr_timestamp     = date_indexation
    1920        rt_attr_string        = uri
    2021
  • _plugins_/indexer/trunk/inclure/liste_sphinx_facette.html

    r88652 r92134  
    3434                                <a href="[(#SELF|parametre_url{#ENV{cle},[(#FACETTE|sinon{-})]})]">
    3535                                        [(#FACETTE|sinon{<i>#ENV{texte_vide}</i>})]
    36                                 </a> (#NB documents)
     36                                </a> (#NB [(#NB|=={1}|?{document,documents})])
    3737                        </li>
    3838</BOUCLE_resultats_facette>
  • _plugins_/indexer/trunk/lib/Indexer/Sources/Document.php

    r90985 r92134  
    99        public $content = '';
    1010        public $date = 0;
     11        public $date_indexation = time();
    1112        public $uri = '';
    1213        public $properties = array();
Note: See TracChangeset for help on using the changeset viewer.