src/source/appinstall.rst
branchdoc-dc
changeset 55 949d496c4e96
parent 51 5ebe61e3a965
child 57 e7d62e94392f
--- a/src/source/appinstall.rst	Fri Apr 27 15:44:46 2018 +0200
+++ b/src/source/appinstall.rst	Wed May 09 17:33:41 2018 +0200
@@ -229,7 +229,7 @@
 .. _zodbinit:
 
 Initializing the ZODB database
-==============================
+------------------------------
 
 After, you have downloaded and installed all required packages, you have to initialize the database so that all
 required components are available.
@@ -244,78 +244,5 @@
 configuration file.
 
 
-Initializing Elasticsearch index
-================================
-
-If you want to use an Elasticsearch index, you have to initialize index settings and mappings; the Ingest attachment
-plug-in is also required to handle attachments correctly.
-
-Elasticsearch integration is defined through the *PyAMS_content_es* package. Configuration files are available in this
-package, for attachment pipeline, index settings and mappings:
-
-.. code-block:: bash
-
-    (env) $ cd /var/local/src/pyams/pyams_content_es
-    (env) $ curl --noproxy localhost -XDELETE http://localhost:9200/pyams (1)
-    (env) $ curl --noproxy localhost -XPUT    http://localhost:9200/pyams -d @index-settings.json
-
-    (env) $ curl --noproxy localhost -XPUT    http://localhost:9200/pyams/WfNewsEvent/_mapping -d @mappings/WfNewsEvent.json
-    (env) $ curl --noproxy localhost -XPUT    http://localhost:9200/pyams/WfTopic/_mapping -d @mappings/WfTopic.json
-    (env) $ curl --noproxy localhost -XPUT    http://localhost:9200/pyams/WfBlogPost/_mapping -d @mappings/WfBlogPost.json
-
-(1) If 'pyams' is defined as Elasticsearch index name.
 
 
-Initializing NLTK
-=================
-
-Some NLTK (Natural Language Toolkit) tokenizers and stopwords utilities are used to index fulltext contents elements.
-This package requires downloading and configuration of several elements which are done as follow:
-
-.. code-block:: bash
-
-    (end) $ ./bin/py
-    >>> import nltk
-    >>> nltk.download()
-    NLTK Downloader
-    ---------------------------------------------------------------------------
-        d) Download   l) List    u) Update   c) Config   h) Help   q) Quit
-    ---------------------------------------------------------------------------
-    Downloader> c
-
-    Data Server:
-      - URL: <https://raw.githubusercontent.com/nltk/nltk_data/gh-pages/index.xml>
-      - 6 Package Collections Available
-      - 107 Individual Packages Available
-
-    Local Machine:
-      - Data directory: /home/tflorac/nltk_data
-
-    ---------------------------------------------------------------------------
-        s) Show Config   u) Set Server URL   d) Set Data Dir   m) Main Menu
-    ---------------------------------------------------------------------------
-    Config> d
-      New directory> /usr/local/lib/nltk_data (1)
-    Config> m
-
-    ---------------------------------------------------------------------------
-        d) Download   l) List    u) Update   c) Config   h) Help   q) Quit
-    ---------------------------------------------------------------------------
-    Downloader> d
-
-    Download which package (l=list; x=cancel)?
-      Identifier> punkt
-        Downloading package punkt to /usr/local/lib/nltk_data...
-
-    Downloader> d
-
-    Download which package (l=list; x=cancel)?
-      Identifier> stopwords
-        Downloading package stopwords to /usr/local/lib/nltk_data...
-
-
-(1) On Debian GNU/Linux, you can choose any directory between '*~/nltk_data*' (where '~' is the homedir of user running
-Pyramid application), '*/usr/share/nltk_data*', '*/usr/local/share/nltk_data*', '*/usr/lib/nltk_data*' and
-'*/usr/local/lib/nltk_data*'.
-
-