svn commit: r587267 - /lenya/docu/src/documentation/content/xdocs/docs/2_0_x/tutorials/newpublication/index.xml

[email protected]
Newsgroups gmane.comp.cms.lenya.cvs
Message-ID <[email protected]>
Author: nettings
Date: Mon Oct 22 14:23:49 2007
New Revision: 587267

URL: http://svn.apache.org/viewvc?rev=587267&view=rev
Log:
clarifications to search configuration docs suggested by markus angst.

Modified:
    lenya/docu/src/documentation/content/xdocs/docs/2_0_x/tutorials/newpublication/index.xml

Modified: lenya/docu/src/documentation/content/xdocs/docs/2_0_x/tutorials/newpublication/index.xml
URL: http://svn.apache.org/viewvc/lenya/docu/src/documentation/content/xdocs/docs/2_0_x/tutorials/newpublication/index.xml?rev=587267&r1=587266&r2=587267&view=diff
==============================================================================
--- lenya/docu/src/documentation/content/xdocs/docs/2_0_x/tutorials/newpublication/index.xml (original)
+++ lenya/docu/src/documentation/content/xdocs/docs/2_0_x/tutorials/newpublication/index.xml Mon Oct 22 14:23:49 2007
@@ -46,7 +46,7 @@
   src/
     lenya/                 The home directory of your Lenya-related sources.
       pubs/                Your publications.
-        mypub/             Your first publication. We'll call this directory $PUB_HOME.
+        $MYPUB/            Your first publication. We'll call this directory $MYPUB_HOME.
       modules/             Your modules.
       data/                Here you'll store your data:
         content/           Content (documents, images, ...)
@@ -92,7 +92,7 @@
       <title>Basic Configuration</title>
       <p>
         Now it's time to add the main configuration file of your publication,
-        <code>$PUB_HOME/config/publication.xml</code>. The language settings depend
+        <code>$MYPUB_HOME/config/publication.xml</code>. The language settings depend
         on your requirements, you can add whatever languages you need. But make sure
         to use the official ISO 639-1 language codes. The entry
         <code><![CDATA[<template id="default"/>]]></code> tells Lenya that your
@@ -133,7 +133,7 @@
       <title>Access Control Configuration</title>
       <p>
         The access control options are configured in
-        <code>$PUB_HOME/config/access-control/access-control.xml</code>.
+        <code>$MYPUB_HOME/config/access-control/access-control.xml</code>.
         We'll change the paths where access control data are stored: 
       </p>
       <source xml:space="preserve"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
@@ -226,12 +226,15 @@
       <title>Configuring the Search Index</title>
       <p>
         It is necessary to configure the search indexes for each publication.
-        Add the file <code>$PUB_HOME/config/search/lucene_index.xml</code>:
+        Add the file
+        <code>$MYPUB_HOME/config/search/lucene_index.xml</code>. Here is an
+        example - be sure to replace $MYPUB with the name of your
+        publication everywhere!
       </p>
       <source xml:space="preserve"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
 <indexes>
-  <index id="mypub-live" analyzer="stopword_en"
-    directory="lenya/pubs/mypub/work/lucene/index/live/index">
+  <index id="$MYPUB-live" analyzer="stopword_en"
+    directory="lenya/pubs/$MYPUB/work/lucene/index/live/index">
     <structure>
       <field id="url" type="keyword" />
       <field id="title" type="text" storetext="true"/>
@@ -240,8 +243,8 @@
       <field id="body" type="text" storetext="true"/>
     </structure>
   </index>
-  <index id="mypub-authoring" analyzer="stopword_en"
-    directory="lenya/pubs/mypub/work/lucene/index/authoring/index">
+  <index id="$MYPUB-authoring" analyzer="stopword_en"
+    directory="lenya/pubs/$MYPUB/work/lucene/index/authoring/index">
     <structure>
       <field id="url" type="keyword" />
       <field id="title" type="text" storetext="true"/>
@@ -250,8 +253,8 @@
       <field id="body" type="text" storetext="true"/>
     </structure>
   </index>
-  <index id="mypub-trash" analyzer="stopword_en"
-    directory="lenya/pubs/mypub/work/lucene/index/trash/index">
+  <index id="$MYPUB-trash" analyzer="stopword_en"
+    directory="lenya/pubs/$MYPUB/work/lucene/index/trash/index">
     <structure>
       <field id="url" type="keyword" />
       <field id="title" type="text" storetext="true"/>
@@ -260,8 +263,8 @@
       <field id="body" type="text" storetext="true"/>
     </structure>
   </index>
-  <index id="mypub-archive" analyzer="stopword_en"
-    directory="lenya/pubs/mypub/work/lucene/index/archive/index">
+  <index id="$MYPUB-archive" analyzer="stopword_en"
+    directory="lenya/pubs/$MYPUB/work/lucene/index/archive/index">
     <structure>
       <field id="url" type="keyword" />
       <field id="title" type="text" storetext="true"/>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.