Browse files

fix documentation s/integer/int

  • Loading branch information...
1 parent b700666 commit 38ef32085dcae8f410690582b3f0609dbcb31705 Robert Newson committed Feb 19, 2010
Showing with 3 additions and 3 deletions.
  1. +3 −3
@@ -124,7 +124,7 @@ The following indexing options can be defaulted;
<td>the type of the field</td>
- <td>date, double, float, integer, long, string</td>
+ <td>date, double, float, int, long, string</td>
@@ -190,7 +190,7 @@ Data may be added to this document with the add method which takes an optional s
// Add a numeric field.
-doc.add(35, {"type":"integer"});
+doc.add(35, {"type":"int"});
// Add a date field.
doc.add(new Date("2009-01-01"), {"type":"date"});
@@ -332,7 +332,7 @@ In addition to normal text-based range searches (using the "field:[lower TO uppe
-<tr><td>integer</td><td>field&lt;int>:[0 TO 100]</td></tr>
+<tr><td>int</td><td>field&lt;int>:[0 TO 100]</td></tr>
<tr><td>long</td><td>field&lt;long>:[0 TO 100]</td></tr>
<tr><td>float</td><td>field&lt;float>:[0.0 TO 100.0]</td></tr>
<tr><td>double</td><td>field&lt;double>:[0.0 TO 100.0]</td></tr>

0 comments on commit 38ef320

Please sign in to comment.