You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-dev@xml.apache.org by na...@apache.org on 2007/11/09 03:27:03 UTC

svn commit: r593399 - in /xml/xindice/trunk/java/src/org/apache/xindice/tools/command: AddIndexer.java XPathQuery.java XUpdate.java

Author: natalia
Date: Thu Nov  8 18:27:03 2007
New Revision: 593399

URL: http://svn.apache.org/viewvc?rev=593399&view=rev
Log:
Small fixes to command help text

Modified:
    xml/xindice/trunk/java/src/org/apache/xindice/tools/command/AddIndexer.java
    xml/xindice/trunk/java/src/org/apache/xindice/tools/command/XPathQuery.java
    xml/xindice/trunk/java/src/org/apache/xindice/tools/command/XUpdate.java

Modified: xml/xindice/trunk/java/src/org/apache/xindice/tools/command/AddIndexer.java
URL: http://svn.apache.org/viewvc/xml/xindice/trunk/java/src/org/apache/xindice/tools/command/AddIndexer.java?rev=593399&r1=593398&r2=593399&view=diff
==============================================================================
--- xml/xindice/trunk/java/src/org/apache/xindice/tools/command/AddIndexer.java (original)
+++ xml/xindice/trunk/java/src/org/apache/xindice/tools/command/AddIndexer.java Thu Nov  8 18:27:03 2007
@@ -187,7 +187,9 @@
         System.out.println("                 unless indexer configuration is specified");
         System.out.println("    -p|--pattern <pattern>");
         System.out.println("                 Index pattern, must be present unless indexer configuration");
-        System.out.println("                 is specified");
+        System.out.println("                 is specified. It is either single pattern for NameIndexer");
+        System.out.println("                 and ValueIndexer, or semicolon delimited list of patterns for");
+        System.out.println("                 LuceneIndexer in the form pattern=alias");
         System.out.println("    -f|--filepath <file>");
         System.out.println("                 Name of the file that holds indexer configuration. If");
         System.out.println("                 specified, the rest of command-specific parameters is");

Modified: xml/xindice/trunk/java/src/org/apache/xindice/tools/command/XPathQuery.java
URL: http://svn.apache.org/viewvc/xml/xindice/trunk/java/src/org/apache/xindice/tools/command/XPathQuery.java?rev=593399&r1=593398&r2=593399&view=diff
==============================================================================
--- xml/xindice/trunk/java/src/org/apache/xindice/tools/command/XPathQuery.java (original)
+++ xml/xindice/trunk/java/src/org/apache/xindice/tools/command/XPathQuery.java Thu Nov  8 18:27:03 2007
@@ -104,6 +104,9 @@
         System.out.println("Command-specific switches:");
         System.out.println("    -q|--query <query>");
         System.out.println("                 XPath query");
+        System.out.println("    -s|--namespaces <namespaces>");
+        System.out.println("                 Semicolon delimited list of namespaces for query");
+        System.out.println("                 in the form prefix=namespace-uri");
         System.out.println();
         System.out.println("Examples:");
         System.out.println("    xindice xpath -c /db/test/ocs -q test");

Modified: xml/xindice/trunk/java/src/org/apache/xindice/tools/command/XUpdate.java
URL: http://svn.apache.org/viewvc/xml/xindice/trunk/java/src/org/apache/xindice/tools/command/XUpdate.java?rev=593399&r1=593398&r2=593399&view=diff
==============================================================================
--- xml/xindice/trunk/java/src/org/apache/xindice/tools/command/XUpdate.java (original)
+++ xml/xindice/trunk/java/src/org/apache/xindice/tools/command/XUpdate.java Thu Nov  8 18:27:03 2007
@@ -109,7 +109,7 @@
         System.out.println();
         System.out.println("Command-specific switches:");
         System.out.println("    -f|--filepath <file>");
-        System.out.println("                 Name of the file with that holds XUpdate query");
+        System.out.println("                 Name of the file that holds XUpdate query");
         System.out.println("    -n|--nameOf <name>");
         System.out.println("                 Document name, if query to be run against single document");
         System.out.println();