Skip to content
This repository has been archived by the owner on May 4, 2023. It is now read-only.

Commit

Permalink
fix documentation s/integer/int
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Newson committed Feb 19, 2010
1 parent b700666 commit 38ef320
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -124,7 +124,7 @@ The following indexing options can be defaulted;
<tr>
<th>type</th>
<td>the type of the field</td>
<td>date, double, float, integer, long, string</td>
<td>date, double, float, int, long, string</td>
<td>string</td>
</tr>
<tr>
Expand Down Expand Up @@ -190,7 +190,7 @@ Data may be added to this document with the add method which takes an optional s
doc.add("value");

// 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"});
Expand Down Expand Up @@ -332,7 +332,7 @@ In addition to normal text-based range searches (using the "field:[lower TO uppe

<table>
<tr><td>type</td><td>example</td></tr>
<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>
Expand Down

0 comments on commit 38ef320

Please sign in to comment.