Zookeeper setup
[lui-solr.git] / zookeeper / exampledocs / gb18030-example.xml
diff --git a/zookeeper/exampledocs/gb18030-example.xml b/zookeeper/exampledocs/gb18030-example.xml
new file mode 100644 (file)
index 0000000..769be19
--- /dev/null
@@ -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>
+