Author: gsingers
Date: Mon Mar  3 10:03:56 2008
New Revision: 633211

URL: http://svn.apache.org/viewvc?rev=633211&view=rev
Log:
cleaned up the javadocs a bit to make more readable

Modified:
    
lucene/solr/trunk/src/java/org/apache/solr/analysis/PatternTokenizerFactory.java

Modified: 
lucene/solr/trunk/src/java/org/apache/solr/analysis/PatternTokenizerFactory.java
URL: 
http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/analysis/PatternTokenizerFactory.java?rev=633211&r1=633210&r2=633211&view=diff
==============================================================================
--- 
lucene/solr/trunk/src/java/org/apache/solr/analysis/PatternTokenizerFactory.java
 (original)
+++ 
lucene/solr/trunk/src/java/org/apache/solr/analysis/PatternTokenizerFactory.java
 Mon Mar  3 10:03:56 2008
@@ -35,26 +35,29 @@
 
 /**
  * This tokenizer uses regex pattern matching to construct distinct tokens
- * for the input stream.  It takes two arguments:  "pattern" and "group"
- * 
- * "pattern" is the regular expression.  
- * "group" says which group to extract into tokens.
- * 
+ * for the input stream.  It takes two arguments:  "pattern" and "group".
+ * <p/>
+ * <ul>
+ * <li>"pattern" is the regular expression.</li>
+ * <li>"group" says which group to extract into tokens.</li>
+ *  </ul>
+ * <p>
  * group=-1 (the default) is equivalent to "split".  In this case, the tokens 
will
  * be equivalent to the output from:
- * 
+ *
  * 
http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html#split(java.lang.String)
- * 
- * Using group >= 0 selects the matching group as the token.  For example, if 
you have:
- *  
+ * </p>
+ * <p>
+ * Using group >= 0 selects the matching group as the token.  For example, if 
you have:<br/>
+ * <pre>
  *  pattern = \'([^\']+)\'
  *  group = 0
  *  input = aaa 'bbb' 'ccc'
- * 
+ *</pre>
  * the output will be two tokens: 'bbb' and 'ccc' (including the ' marks).  
With the same input
  * but using group=1, the output would be: bbb and ccc (no ' marks)
- * 
- * 
+ * </p>
+ *
  * @since solr1.2
  * @version $Id:$
  */


Reply via email to