From 0d60aba6240b49b72d07ec75e9c019adb757dbd4 Mon Sep 17 00:00:00 2001 From: Yonik Seeley Date: Tue, 25 Jul 2006 19:41:43 +0000 Subject: [PATCH] UTF-8 example: SOLR-38 git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@425496 13f79535-47bb-0310-9956-ffa450edef68 --- example/exampledocs/hd.xml | 0 example/exampledocs/ipod_other.xml | 0 example/exampledocs/mem.xml | 0 example/exampledocs/monitor.xml | 0 example/exampledocs/monitor2.xml | 0 example/exampledocs/mp500.xml | 0 example/exampledocs/post.sh | 1 + example/exampledocs/sd500.xml | 0 example/exampledocs/solr.xml | 0 example/exampledocs/utf8-example.xml | 26 ++++++++++++++++++++++++++ example/exampledocs/vidcard.xml | 0 11 files changed, 27 insertions(+) mode change 100755 => 100644 example/exampledocs/hd.xml mode change 100755 => 100644 example/exampledocs/ipod_other.xml mode change 100755 => 100644 example/exampledocs/mem.xml mode change 100755 => 100644 example/exampledocs/monitor.xml mode change 100755 => 100644 example/exampledocs/monitor2.xml mode change 100755 => 100644 example/exampledocs/mp500.xml mode change 100755 => 100644 example/exampledocs/sd500.xml mode change 100755 => 100644 example/exampledocs/solr.xml create mode 100644 example/exampledocs/utf8-example.xml mode change 100755 => 100644 example/exampledocs/vidcard.xml diff --git a/example/exampledocs/hd.xml b/example/exampledocs/hd.xml old mode 100755 new mode 100644 diff --git a/example/exampledocs/ipod_other.xml b/example/exampledocs/ipod_other.xml old mode 100755 new mode 100644 diff --git a/example/exampledocs/mem.xml b/example/exampledocs/mem.xml old mode 100755 new mode 100644 diff --git a/example/exampledocs/monitor.xml b/example/exampledocs/monitor.xml old mode 100755 new mode 100644 diff --git a/example/exampledocs/monitor2.xml b/example/exampledocs/monitor2.xml old mode 100755 new mode 100644 diff --git a/example/exampledocs/mp500.xml b/example/exampledocs/mp500.xml old mode 100755 new mode 100644 diff --git a/example/exampledocs/post.sh b/example/exampledocs/post.sh index 7e06e49c97f..eb80fc88f83 100755 --- a/example/exampledocs/post.sh +++ b/example/exampledocs/post.sh @@ -5,6 +5,7 @@ URL=http://localhost:8983/solr/update for f in $FILES; do echo Posting file $f to $URL curl $URL --data-binary @$f + curl $URL --data-binary @$f -H 'Content-type:text/xml; charset=utf-8' echo done diff --git a/example/exampledocs/sd500.xml b/example/exampledocs/sd500.xml old mode 100755 new mode 100644 diff --git a/example/exampledocs/solr.xml b/example/exampledocs/solr.xml old mode 100755 new mode 100644 diff --git a/example/exampledocs/utf8-example.xml b/example/exampledocs/utf8-example.xml new file mode 100644 index 00000000000..5a7d989e735 --- /dev/null +++ b/example/exampledocs/utf8-example.xml @@ -0,0 +1,26 @@ + + + + + + + UTF8TEST + Test with some UTF-8 encoded characters + Apache Software Foundation + software + search + No accents here + This is an e acute: é + eaiou with circumflexes: êâîôû + eaiou with umlauts: ëäïöü + tag with escaped chars: <nicetag/> + escaped ampersand: Bonnie & Clyde + 0 + 10 + true + + + diff --git a/example/exampledocs/vidcard.xml b/example/exampledocs/vidcard.xml old mode 100755 new mode 100644