You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by to...@apache.org on 2011/02/28 11:06:57 UTC

svn commit: r1075263 - /uima/sandbox/trunk/Solrcas/src/docbook/SolrcasUserGuide.xml

Author: tommaso
Date: Mon Feb 28 10:06:57 2011
New Revision: 1075263

URL: http://svn.apache.org/viewvc?rev=1075263&view=rev
Log:
[UIMA-2067] - removed the cas mapping info inside the documentation too

Modified:
    uima/sandbox/trunk/Solrcas/src/docbook/SolrcasUserGuide.xml

Modified: uima/sandbox/trunk/Solrcas/src/docbook/SolrcasUserGuide.xml
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/Solrcas/src/docbook/SolrcasUserGuide.xml?rev=1075263&r1=1075262&r2=1075263&view=diff
==============================================================================
--- uima/sandbox/trunk/Solrcas/src/docbook/SolrcasUserGuide.xml (original)
+++ uima/sandbox/trunk/Solrcas/src/docbook/SolrcasUserGuide.xml Mon Feb 28 10:06:57 2011
@@ -73,11 +73,10 @@
       <programlisting>
       <![CDATA[
       <solrMapping>
-        <cas>id</cas>
         <documentText>text</documentText>
         <documentLanguage>language</documentLanguage>
         <fsMapping>
-          <type name="org.apache.uima.jcas.tcas.Annotation">
+          <type name="uima.jcas.tcas.Annotation">
             <map feature="coveredText" field="annotation"/>
           </type>
         </fsMapping>
@@ -86,15 +85,11 @@
       </programlisting>
     </para>
     <para>
-      The <emphasis>cas</emphasis> element holds information about which Solr field will be used to
-      store the JCas.toString() value.
-    </para>
-    <para>
-      The <emphasis>documentText</emphasis> element holds the field name in which the JCas.getDocumentText()
+      The <emphasis>documentText</emphasis> element holds the field name in which the Cas.getDocumentText()
       value will be indexed.
     </para>
     <para>
-      The <emphasis>documentLanguage</emphasis> element holds the field name in which the JCas.getDocumentLanguage()
+      The <emphasis>documentLanguage</emphasis> element holds the field name in which the Cas.getDocumentLanguage()
       value will be indexed.
     </para>
     <para>
@@ -105,13 +100,12 @@
       feature).
     </para>
     <para>
-      In the sample above the JCas.toString() will be written in the id field, the JCas.getDocumentText() will
-      be written inside the text field, the JCas.getDocumentLanguage() will be written inside the language
-      field and the Annotation.getCoveredText() of each org.apache.uima.jcas.tcas.Annotation object will be
-      written inside an annotation field in Solr.
+      In the sample above the Cas.getDocumentText() will be written inside the text field, the Cas.getDocumentLanguage() 
+      will be written inside the language field and the Annotation.getCoveredText() of each uima.jcas.tcas.Annotation object
+      will be written inside an annotation field in Solr.
     </para>
     <para>
-      Note that cas, documentText, documentLanguage are all optional.                     
+      Note that documentText and documentLanguage are all optional.
     </para>
 
   </chapter>