mirror of https://github.com/apache/lucene.git
add back timestamps to more example docs
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@804477 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9125046dec
commit
f424f8fefd
|
@ -27,6 +27,7 @@
|
|||
<field name="price">92</field>
|
||||
<field name="popularity">6</field>
|
||||
<field name="inStock">true</field>
|
||||
<field name="timestamp">NOW</field>
|
||||
</doc>
|
||||
|
||||
<doc>
|
||||
|
@ -41,6 +42,7 @@
|
|||
<field name="price">350</field>
|
||||
<field name="popularity">6</field>
|
||||
<field name="inStock">true</field>
|
||||
<field name="timestamp">NOW</field>
|
||||
</doc>
|
||||
</add>
|
||||
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
<field name="price">185</field>
|
||||
<field name="popularity">5</field>
|
||||
<field name="inStock">true</field>
|
||||
<field name="timestamp">NOW</field>
|
||||
</doc>
|
||||
|
||||
<doc>
|
||||
|
@ -37,6 +38,7 @@
|
|||
<field name="price">74.99</field>
|
||||
<field name="popularity">7</field>
|
||||
<field name="inStock">true</field>
|
||||
<field name="timestamp">NOW</field>
|
||||
</doc>
|
||||
|
||||
<doc>
|
||||
|
@ -49,7 +51,7 @@
|
|||
<!-- note: price is missing on this one -->
|
||||
<field name="popularity">5</field>
|
||||
<field name="inStock">true</field>
|
||||
|
||||
<field name="timestamp">NOW</field>
|
||||
</doc>
|
||||
|
||||
|
||||
|
|
|
@ -30,4 +30,5 @@
|
|||
<field name="price">329.95</field>
|
||||
<field name="popularity">7</field>
|
||||
<field name="inStock">true</field>
|
||||
<field name="timestamp">NOW</field>
|
||||
</doc></add>
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
<field name="price">479.95</field>
|
||||
<field name="popularity">7</field>
|
||||
<field name="inStock">false</field>
|
||||
<field name="timestamp">NOW/DAY</field>
|
||||
</doc>
|
||||
<!-- yes, you can add more than one document at a time -->
|
||||
<doc>
|
||||
|
@ -48,5 +49,6 @@
|
|||
<field name="price">649.99</field>
|
||||
<field name="popularity">7</field>
|
||||
<field name="inStock">false</field>
|
||||
<field name="timestamp">NOW/DAY</field>
|
||||
</doc>
|
||||
</add>
|
||||
|
|
Loading…
Reference in New Issue