Changeset 2031 in main for trunk/docs


Ignore:
Timestamp:
01/17/13 14:25:17 (6 years ago)
Author:
pcosquer
Message:

docs: how-to upgrade: adds not on search indexes rebuilding

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/docs/en/admin/ht_3_upgrade.rst

    r2027 r2031  
    8282       For example: ``tar xzf openplm-XYZ.tgz -C . /tmp`` 
    8383    #. Copy the files: 
    84        ``cp -rp /tmp/openPLM /var/django``, ``/var/django`` is the directory containing the ``openPLM`` 
    85        directory 
    86     #. Restore the settings.py file: 
     84       ``cp -rp /tmp/openplm/openPLM /var/django``, 
     85       ``/var/django`` is the directory containing your ``openPLM`` directory 
     86    #. Restore your :file:`settings.py` file: 
    8787        
    8888        * ``cp /var/django/openPLM/settings.py /var/django/openPLM/settings.py.orig`` 
     
    132132 
    133133Not really required but some functionalities may run faster. 
    134 For example, OpenPLM 1.2 indexes more attributes which avoid 
    135 some database hits when testing if an object is readable by the user. 
    136134 
    137135    #. ``./manage.py rebuild_index`` 
    138136    #. ``chown www-data:www-data -R /var/openPLM`` 
    139137 
     138 
     139Determining if you should rebuild the index 
     140----------------------------------------------- 
     141 
     142Rebuilding search indexes can take several minutes depending 
     143on the number of indexed parts, documents and files. 
     144You can try to rebuild indexes and if it takes too much time 
     145you can safely restore your backed up indexes. 
     146 
     147Version 1.2: 
     148 
     149    * group attribute is indexed and it is now possible to query 
     150      documents by their group (``group=a_group_name``). 
     151      Previously, a query like ``a_group_name`` matched the 
     152      right documents but ``group=a_group_name`` would returned an 
     153      empty result set. 
     154 
     155    * OpenPLM 1.2 tests if a search result is readable by the 
     156      current user. If search indexes are not rebuilt, each search 
     157      will hit the database and take a little more time. 
     158 
    140159File permissions 
    141160================ 
    142  
    143161 
    144162    * ``chown www-data:www-data -R /var/openPLM`` 
     
    153171You can enable them according to your needs. 
    154172 
     173Other actions 
     174============== 
     175 
     176.. 
     177    Put stuff specific to a version here 
     178 
     179OpenPLM 1.2 
     180----------- 
     181 
     182You can load more optional lifecycles: 
     183 
     184    * ``./manage.py loaddata extra_lifecycles`` 
     185 
    155186 
    156187Starting the server 
Note: See TracChangeset for help on using the changeset viewer.