1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
2 | <!-- |
---|
3 | Licensed to the Apache Software Foundation (ASF) under one or more |
---|
4 | contributor license agreements. See the NOTICE file distributed with |
---|
5 | this work for additional information regarding copyright ownership. |
---|
6 | The ASF licenses this file to You under the Apache License, Version 2.0 |
---|
7 | (the "License"); you may not use this file except in compliance with |
---|
8 | the License. You may obtain a copy of the License at |
---|
9 | |
---|
10 | http://www.apache.org/licenses/LICENSE-2.0 |
---|
11 | |
---|
12 | Unless required by applicable law or agreed to in writing, software |
---|
13 | distributed under the License is distributed on an "AS IS" BASIS, |
---|
14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
---|
15 | See the License for the specific language governing permissions and |
---|
16 | limitations under the License. |
---|
17 | --> |
---|
18 | |
---|
19 | <!-- |
---|
20 | After posting this to SOLR with post.sh, searching for "êâîÎû" from |
---|
21 | the solr/admin/ search page must return this document. |
---|
22 | --> |
---|
23 | |
---|
24 | <add> |
---|
25 | <doc> |
---|
26 | <field name="id">UTF8TEST</field> |
---|
27 | <field name="name">Test with some UTF-8 encoded characters</field> |
---|
28 | <field name="manu">Apache Software Foundation</field> |
---|
29 | <field name="cat">software</field> |
---|
30 | <field name="cat">search</field> |
---|
31 | <field name="features">No accents here</field> |
---|
32 | <field name="features">This is an e acute: é</field> |
---|
33 | <field name="features">eaiou with circumflexes: êâîÎû</field> |
---|
34 | <field name="features">eaiou with umlauts: ëÀïöÌ</field> |
---|
35 | <field name="features">tag with escaped chars: <nicetag/></field> |
---|
36 | <field name="features">escaped ampersand: Bonnie & Clyde</field> |
---|
37 | <field name="features">Outside the BMP:ð codepoint=10308, a circle with an x inside. UTF8=f0908c88 UTF16=d800 df08</field> |
---|
38 | <field name="price">0</field> |
---|
39 | <field name="inStock">true</field> |
---|
40 | </doc> |
---|
41 | </add> |
---|
42 | |
---|