aboutsummaryrefslogtreecommitdiffstats
path: root/isuifang_solr/exampledocs/gb18030-example.xml
diff options
context:
space:
mode:
Diffstat (limited to 'isuifang_solr/exampledocs/gb18030-example.xml')
-rw-r--r--isuifang_solr/exampledocs/gb18030-example.xml32
1 files changed, 32 insertions, 0 deletions
diff --git a/isuifang_solr/exampledocs/gb18030-example.xml b/isuifang_solr/exampledocs/gb18030-example.xml
new file mode 100644
index 0000000..769be19
--- /dev/null
+++ b/isuifang_solr/exampledocs/gb18030-example.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="GB18030"?>
+<!--
+ 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.
+-->
+
+<add>
+ <doc>
+ <field name="id">GB18030TEST</field>
+ <field name="name">Test with some GB18030 encoded characters</field>
+ <field name="features">No accents here</field>
+ <field name="features">这是一个功能</field>
+ <field name="features">This is a feature (translated)</field>
+ <field name="features">这份文件是很有光泽</field>
+ <field name="features">This document is very shiny (translated)</field>
+ <field name="price">0</field>
+ <field name="inStock">true</field>
+ </doc>
+</add>
+