mirror of https://github.com/apache/lucene.git
66 lines
2.1 KiB
XML
66 lines
2.1 KiB
XML
|
<!--
|
||
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
||
|
contributor license agreements. See the NOTICE file distributed with
|
||
|
this work for additional information regarding copyright ownership.
|
||
|
The ASF licenses this file to You under the Apache License, Version 2.0
|
||
|
(the "License"); you may not use this file except in compliance with
|
||
|
the License. You may obtain a copy of the License at
|
||
|
|
||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||
|
|
||
|
Unless required by applicable law or agreed to in writing, software
|
||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||
|
See the License for the specific language governing permissions and
|
||
|
limitations under the License.
|
||
|
-->
|
||
|
|
||
|
<!-- Example documents utilizing the CurrencyField type -->
|
||
|
<add>
|
||
|
<doc>
|
||
|
<field name="id">USD</field>
|
||
|
<field name="name">One Dollar</field>
|
||
|
<field name="manu">Bank of America</field>
|
||
|
<field name="manu_id_s">boa</field>
|
||
|
<field name="cat">currency</field>
|
||
|
<field name="features">Coins and notes</field>
|
||
|
<field name="price_c">1,USD</field>
|
||
|
<field name="inStock">true</field>
|
||
|
</doc>
|
||
|
|
||
|
<doc>
|
||
|
<field name="id">EUR</field>
|
||
|
<field name="name">One Euro</field>
|
||
|
<field name="manu">European Union</field>
|
||
|
<field name="manu_id_s">eu</field>
|
||
|
<field name="cat">currency</field>
|
||
|
<field name="features">Coins and notes</field>
|
||
|
<field name="price_c">1,EUR</field>
|
||
|
<field name="inStock">true</field>
|
||
|
</doc>
|
||
|
|
||
|
<doc>
|
||
|
<field name="id">GBP</field>
|
||
|
<field name="name">One British Pound</field>
|
||
|
<field name="manu">U.K.</field>
|
||
|
<field name="manu_id_s">uk</field>
|
||
|
<field name="cat">currency</field>
|
||
|
<field name="features">Coins and notes</field>
|
||
|
<field name="price_c">1,GBP</field>
|
||
|
<field name="inStock">true</field>
|
||
|
</doc>
|
||
|
|
||
|
<doc>
|
||
|
<field name="id">NOK</field>
|
||
|
<field name="name">One Krone</field>
|
||
|
<field name="manu">Bank of Norway</field>
|
||
|
<field name="manu_id_s">nor</field>
|
||
|
<field name="cat">currency</field>
|
||
|
<field name="features">Coins and notes</field>
|
||
|
<field name="price_c">1,NOK</field>
|
||
|
<field name="inStock">true</field>
|
||
|
</doc>
|
||
|
|
||
|
</add>
|
||
|
|