rere 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.classpath +260 -0
- data/.gitignore +28 -0
- data/.project +14 -0
- data/.ruby-version +1 -0
- data/.settings/org.eclim.prefs +3 -0
- data/.settings/org.eclipse.jdt.core.prefs +5 -0
- data/.settings/org.eclipse.jdt.ui.prefs +2 -0
- data/Gemfile +7 -0
- data/LICENSE +22 -0
- data/README.md +44 -0
- data/Rakefile +65 -0
- data/bin/solr +61 -0
- data/example/config/solr.yml +23 -0
- data/example/log/.gitkeep +0 -0
- data/example/solr/README.txt +63 -0
- data/example/solr/collection1/README.txt +50 -0
- data/example/solr/collection1/conf/admin-extra.html +24 -0
- data/example/solr/collection1/conf/admin-extra.menu-bottom.html +25 -0
- data/example/solr/collection1/conf/admin-extra.menu-top.html +25 -0
- data/example/solr/collection1/conf/currency.xml +67 -0
- data/example/solr/collection1/conf/elevate.xml +38 -0
- data/example/solr/collection1/conf/lang/contractions_ca.txt +8 -0
- data/example/solr/collection1/conf/lang/contractions_fr.txt +15 -0
- data/example/solr/collection1/conf/lang/contractions_ga.txt +5 -0
- data/example/solr/collection1/conf/lang/contractions_it.txt +23 -0
- data/example/solr/collection1/conf/lang/hyphenations_ga.txt +5 -0
- data/example/solr/collection1/conf/lang/stemdict_nl.txt +6 -0
- data/example/solr/collection1/conf/lang/stoptags_ja.txt +420 -0
- data/example/solr/collection1/conf/lang/stopwords_ar.txt +125 -0
- data/example/solr/collection1/conf/lang/stopwords_bg.txt +193 -0
- data/example/solr/collection1/conf/lang/stopwords_ca.txt +220 -0
- data/example/solr/collection1/conf/lang/stopwords_cz.txt +172 -0
- data/example/solr/collection1/conf/lang/stopwords_da.txt +108 -0
- data/example/solr/collection1/conf/lang/stopwords_de.txt +292 -0
- data/example/solr/collection1/conf/lang/stopwords_el.txt +78 -0
- data/example/solr/collection1/conf/lang/stopwords_en.txt +54 -0
- data/example/solr/collection1/conf/lang/stopwords_es.txt +354 -0
- data/example/solr/collection1/conf/lang/stopwords_eu.txt +99 -0
- data/example/solr/collection1/conf/lang/stopwords_fa.txt +313 -0
- data/example/solr/collection1/conf/lang/stopwords_fi.txt +95 -0
- data/example/solr/collection1/conf/lang/stopwords_fr.txt +184 -0
- data/example/solr/collection1/conf/lang/stopwords_ga.txt +110 -0
- data/example/solr/collection1/conf/lang/stopwords_gl.txt +161 -0
- data/example/solr/collection1/conf/lang/stopwords_hi.txt +235 -0
- data/example/solr/collection1/conf/lang/stopwords_hu.txt +209 -0
- data/example/solr/collection1/conf/lang/stopwords_hy.txt +46 -0
- data/example/solr/collection1/conf/lang/stopwords_id.txt +359 -0
- data/example/solr/collection1/conf/lang/stopwords_it.txt +301 -0
- data/example/solr/collection1/conf/lang/stopwords_ja.txt +127 -0
- data/example/solr/collection1/conf/lang/stopwords_lv.txt +172 -0
- data/example/solr/collection1/conf/lang/stopwords_nl.txt +117 -0
- data/example/solr/collection1/conf/lang/stopwords_no.txt +192 -0
- data/example/solr/collection1/conf/lang/stopwords_pt.txt +251 -0
- data/example/solr/collection1/conf/lang/stopwords_ro.txt +233 -0
- data/example/solr/collection1/conf/lang/stopwords_ru.txt +241 -0
- data/example/solr/collection1/conf/lang/stopwords_sv.txt +131 -0
- data/example/solr/collection1/conf/lang/stopwords_th.txt +119 -0
- data/example/solr/collection1/conf/lang/stopwords_tr.txt +212 -0
- data/example/solr/collection1/conf/lang/userdict_ja.txt +29 -0
- data/example/solr/collection1/conf/mapping-FoldToASCII.txt +3813 -0
- data/example/solr/collection1/conf/mapping-ISOLatin1Accent.txt +246 -0
- data/example/solr/collection1/conf/protwords.txt +21 -0
- data/example/solr/collection1/conf/schema.xml +1125 -0
- data/example/solr/collection1/conf/scripts.conf +24 -0
- data/example/solr/collection1/conf/solrconfig.xml +1816 -0
- data/example/solr/collection1/conf/spellings.txt +2 -0
- data/example/solr/collection1/conf/stopwords.txt +14 -0
- data/example/solr/collection1/conf/synonyms.txt +29 -0
- data/example/solr/collection1/conf/update-script.js +53 -0
- data/example/solr/collection1/conf/velocity/VM_global_library.vm +170 -0
- data/example/solr/collection1/conf/velocity/browse.vm +50 -0
- data/example/solr/collection1/conf/velocity/cluster.vm +9 -0
- data/example/solr/collection1/conf/velocity/clusterResults.vm +12 -0
- data/example/solr/collection1/conf/velocity/debug.vm +17 -0
- data/example/solr/collection1/conf/velocity/did_you_mean.vm +4 -0
- data/example/solr/collection1/conf/velocity/facet_fields.vm +15 -0
- data/example/solr/collection1/conf/velocity/facet_pivot.vm +3 -0
- data/example/solr/collection1/conf/velocity/facet_queries.vm +3 -0
- data/example/solr/collection1/conf/velocity/facet_ranges.vm +15 -0
- data/example/solr/collection1/conf/velocity/facets.vm +5 -0
- data/example/solr/collection1/conf/velocity/footer.vm +17 -0
- data/example/solr/collection1/conf/velocity/head.vm +32 -0
- data/example/solr/collection1/conf/velocity/header.vm +3 -0
- data/example/solr/collection1/conf/velocity/hit.vm +11 -0
- data/example/solr/collection1/conf/velocity/hitGrouped.vm +24 -0
- data/example/solr/collection1/conf/velocity/join-doc.vm +4 -0
- data/example/solr/collection1/conf/velocity/jquery.autocomplete.css +48 -0
- data/example/solr/collection1/conf/velocity/jquery.autocomplete.js +763 -0
- data/example/solr/collection1/conf/velocity/layout.vm +20 -0
- data/example/solr/collection1/conf/velocity/main.css +208 -0
- data/example/solr/collection1/conf/velocity/product-doc.vm +27 -0
- data/example/solr/collection1/conf/velocity/query.vm +42 -0
- data/example/solr/collection1/conf/velocity/queryGroup.vm +19 -0
- data/example/solr/collection1/conf/velocity/querySpatial.vm +40 -0
- data/example/solr/collection1/conf/velocity/richtext-doc.vm +114 -0
- data/example/solr/collection1/conf/velocity/suggest.vm +3 -0
- data/example/solr/collection1/conf/velocity/tabs.vm +6 -0
- data/example/solr/collection1/conf/xslt/example.xsl +132 -0
- data/example/solr/collection1/conf/xslt/example_atom.xsl +67 -0
- data/example/solr/collection1/conf/xslt/example_rss.xsl +66 -0
- data/example/solr/collection1/conf/xslt/luke.xsl +337 -0
- data/example/solr/collection1/conf/xslt/updateXml.xsl +70 -0
- data/example/solr/collection1/data/index/segments.gen +0 -0
- data/example/solr/collection1/data/index/segments_1 +0 -0
- data/example/solr/data/development/index/segments.gen +0 -0
- data/example/solr/data/development/index/segments_1 +0 -0
- data/example/solr/solr.xml +53 -0
- data/example/solr/zoo.cfg +17 -0
- data/lib/rere.rb +66 -0
- data/lib/rere/railtie.rb +8 -0
- data/lib/rere/server.rb +380 -0
- data/lib/rere/tasks/solr.rake +47 -0
- data/lib/rere/version.rb +3 -0
- data/pom.xml +168 -0
- data/rere.gemspec +26 -0
- data/server/README.txt +78 -0
- data/server/cloud-scripts/zkcli.bat +12 -0
- data/server/cloud-scripts/zkcli.sh +14 -0
- data/server/contexts/solr-jetty-context.xml +8 -0
- data/server/etc/create-solrtest.keystore.sh +37 -0
- data/server/etc/jetty.xml +205 -0
- data/server/etc/logging.properties +38 -0
- data/server/etc/solrtest.keystore +0 -0
- data/server/etc/webdefault.xml +527 -0
- data/server/exampledocs/books.csv +11 -0
- data/server/exampledocs/books.json +51 -0
- data/server/exampledocs/gb18030-example.xml +32 -0
- data/server/exampledocs/hd.xml +56 -0
- data/server/exampledocs/ipod_other.xml +60 -0
- data/server/exampledocs/ipod_video.xml +40 -0
- data/server/exampledocs/manufacturers.xml +75 -0
- data/server/exampledocs/mem.xml +77 -0
- data/server/exampledocs/money.xml +65 -0
- data/server/exampledocs/monitor.xml +35 -0
- data/server/exampledocs/monitor2.xml +34 -0
- data/server/exampledocs/mp500.xml +43 -0
- data/server/exampledocs/post.jar +0 -0
- data/server/exampledocs/post.sh +30 -0
- data/server/exampledocs/sd500.xml +38 -0
- data/server/exampledocs/solr.xml +38 -0
- data/server/exampledocs/test_utf8.sh +93 -0
- data/server/exampledocs/utf8-example.xml +42 -0
- data/server/exampledocs/vidcard.xml +62 -0
- data/server/lib/ext/jcl-over-slf4j-1.6.6.jar +0 -0
- data/server/lib/ext/jul-to-slf4j-1.6.6.jar +0 -0
- data/server/lib/ext/log4j-1.2.16.jar +0 -0
- data/server/lib/ext/slf4j-api-1.6.6.jar +0 -0
- data/server/lib/ext/slf4j-log4j12-1.6.6.jar +0 -0
- data/server/lib/jetty-continuation-8.1.8.v20121106.jar +0 -0
- data/server/lib/jetty-deploy-8.1.8.v20121106.jar +0 -0
- data/server/lib/jetty-http-8.1.8.v20121106.jar +0 -0
- data/server/lib/jetty-io-8.1.8.v20121106.jar +0 -0
- data/server/lib/jetty-jmx-8.1.8.v20121106.jar +0 -0
- data/server/lib/jetty-security-8.1.8.v20121106.jar +0 -0
- data/server/lib/jetty-server-8.1.8.v20121106.jar +0 -0
- data/server/lib/jetty-servlet-8.1.8.v20121106.jar +0 -0
- data/server/lib/jetty-util-8.1.8.v20121106.jar +0 -0
- data/server/lib/jetty-webapp-8.1.8.v20121106.jar +0 -0
- data/server/lib/jetty-xml-8.1.8.v20121106.jar +0 -0
- data/server/lib/servlet-api-3.0.jar +0 -0
- data/server/resources/log4j.properties +19 -0
- data/server/solr/README.txt +63 -0
- data/server/solr/solr.xml +53 -0
- data/server/solr/zoo.cfg +17 -0
- data/server/start.jar +0 -0
- data/server/webapps/solr.war +0 -0
- data/solr/lib/solr-winds-0.1.jar +0 -0
- metadata +284 -0
@@ -0,0 +1,11 @@
|
|
1
|
+
id,cat,name,price,inStock,author,series_t,sequence_i,genre_s
|
2
|
+
0553573403,book,A Game of Thrones,7.99,true,George R.R. Martin,"A Song of Ice and Fire",1,fantasy
|
3
|
+
0553579908,book,A Clash of Kings,7.99,true,George R.R. Martin,"A Song of Ice and Fire",2,fantasy
|
4
|
+
055357342X,book,A Storm of Swords,7.99,true,George R.R. Martin,"A Song of Ice and Fire",3,fantasy
|
5
|
+
0553293354,book,Foundation,7.99,true,Isaac Asimov,Foundation Novels,1,scifi
|
6
|
+
0812521390,book,The Black Company,6.99,false,Glen Cook,The Chronicles of The Black Company,1,fantasy
|
7
|
+
0812550706,book,Ender's Game,6.99,true,Orson Scott Card,Ender,1,scifi
|
8
|
+
0441385532,book,Jhereg,7.95,false,Steven Brust,Vlad Taltos,1,fantasy
|
9
|
+
0380014300,book,Nine Princes In Amber,6.99,true,Roger Zelazny,the Chronicles of Amber,1,fantasy
|
10
|
+
0805080481,book,The Book of Three,5.99,true,Lloyd Alexander,The Chronicles of Prydain,1,fantasy
|
11
|
+
080508049X,book,The Black Cauldron,5.99,true,Lloyd Alexander,The Chronicles of Prydain,2,fantasy
|
@@ -0,0 +1,51 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"id" : "978-0641723445",
|
4
|
+
"cat" : ["book","hardcover"],
|
5
|
+
"name" : "The Lightning Thief",
|
6
|
+
"author" : "Rick Riordan",
|
7
|
+
"series_t" : "Percy Jackson and the Olympians",
|
8
|
+
"sequence_i" : 1,
|
9
|
+
"genre_s" : "fantasy",
|
10
|
+
"inStock" : true,
|
11
|
+
"price" : 12.50,
|
12
|
+
"pages_i" : 384
|
13
|
+
}
|
14
|
+
,
|
15
|
+
{
|
16
|
+
"id" : "978-1423103349",
|
17
|
+
"cat" : ["book","paperback"],
|
18
|
+
"name" : "The Sea of Monsters",
|
19
|
+
"author" : "Rick Riordan",
|
20
|
+
"series_t" : "Percy Jackson and the Olympians",
|
21
|
+
"sequence_i" : 2,
|
22
|
+
"genre_s" : "fantasy",
|
23
|
+
"inStock" : true,
|
24
|
+
"price" : 6.49,
|
25
|
+
"pages_i" : 304
|
26
|
+
}
|
27
|
+
,
|
28
|
+
{
|
29
|
+
"id" : "978-1857995879",
|
30
|
+
"cat" : ["book","paperback"],
|
31
|
+
"name" : "Sophie's World : The Greek Philosophers",
|
32
|
+
"author" : "Jostein Gaarder",
|
33
|
+
"sequence_i" : 1,
|
34
|
+
"genre_s" : "fantasy",
|
35
|
+
"inStock" : true,
|
36
|
+
"price" : 3.07,
|
37
|
+
"pages_i" : 64
|
38
|
+
}
|
39
|
+
,
|
40
|
+
{
|
41
|
+
"id" : "978-1933988177",
|
42
|
+
"cat" : ["book","paperback"],
|
43
|
+
"name" : "Lucene in Action, Second Edition",
|
44
|
+
"author" : "Michael McCandless",
|
45
|
+
"sequence_i" : 1,
|
46
|
+
"genre_s" : "IT",
|
47
|
+
"inStock" : true,
|
48
|
+
"price" : 30.50,
|
49
|
+
"pages_i" : 475
|
50
|
+
}
|
51
|
+
]
|
@@ -0,0 +1,32 @@
|
|
1
|
+
<?xml version="1.0" encoding="GB18030"?>
|
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
|
+
<add>
|
20
|
+
<doc>
|
21
|
+
<field name="id">GB18030TEST</field>
|
22
|
+
<field name="name">Test with some GB18030 encoded characters</field>
|
23
|
+
<field name="features">No accents here</field>
|
24
|
+
<field name="features">����һ������</field>
|
25
|
+
<field name="features">This is a feature (translated)</field>
|
26
|
+
<field name="features">����ļ��Ǻ��й���</field>
|
27
|
+
<field name="features">This document is very shiny (translated)</field>
|
28
|
+
<field name="price">0</field>
|
29
|
+
<field name="inStock">true</field>
|
30
|
+
</doc>
|
31
|
+
</add>
|
32
|
+
|
@@ -0,0 +1,56 @@
|
|
1
|
+
<!--
|
2
|
+
Licensed to the Apache Software Foundation (ASF) under one or more
|
3
|
+
contributor license agreements. See the NOTICE file distributed with
|
4
|
+
this work for additional information regarding copyright ownership.
|
5
|
+
The ASF licenses this file to You under the Apache License, Version 2.0
|
6
|
+
(the "License"); you may not use this file except in compliance with
|
7
|
+
the License. You may obtain a copy of the License at
|
8
|
+
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
|
11
|
+
Unless required by applicable law or agreed to in writing, software
|
12
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
See the License for the specific language governing permissions and
|
15
|
+
limitations under the License.
|
16
|
+
-->
|
17
|
+
|
18
|
+
<add>
|
19
|
+
<doc>
|
20
|
+
<field name="id">SP2514N</field>
|
21
|
+
<field name="name">Samsung SpinPoint P120 SP2514N - hard drive - 250 GB - ATA-133</field>
|
22
|
+
<field name="manu">Samsung Electronics Co. Ltd.</field>
|
23
|
+
<!-- Join -->
|
24
|
+
<field name="manu_id_s">samsung</field>
|
25
|
+
<field name="cat">electronics</field>
|
26
|
+
<field name="cat">hard drive</field>
|
27
|
+
<field name="features">7200RPM, 8MB cache, IDE Ultra ATA-133</field>
|
28
|
+
<field name="features">NoiseGuard, SilentSeek technology, Fluid Dynamic Bearing (FDB) motor</field>
|
29
|
+
<field name="price">92</field>
|
30
|
+
<field name="popularity">6</field>
|
31
|
+
<field name="inStock">true</field>
|
32
|
+
<field name="manufacturedate_dt">2006-02-13T15:26:37Z</field>
|
33
|
+
<!-- Near Oklahoma city -->
|
34
|
+
<field name="store">35.0752,-97.032</field>
|
35
|
+
</doc>
|
36
|
+
|
37
|
+
<doc>
|
38
|
+
<field name="id">6H500F0</field>
|
39
|
+
<field name="name">Maxtor DiamondMax 11 - hard drive - 500 GB - SATA-300</field>
|
40
|
+
<field name="manu">Maxtor Corp.</field>
|
41
|
+
<!-- Join -->
|
42
|
+
<field name="manu_id_s">maxtor</field>
|
43
|
+
<field name="cat">electronics</field>
|
44
|
+
<field name="cat">hard drive</field>
|
45
|
+
<field name="features">SATA 3.0Gb/s, NCQ</field>
|
46
|
+
<field name="features">8.5ms seek</field>
|
47
|
+
<field name="features">16MB cache</field>
|
48
|
+
<field name="price">350</field>
|
49
|
+
<field name="popularity">6</field>
|
50
|
+
<field name="inStock">true</field>
|
51
|
+
<!-- Buffalo store -->
|
52
|
+
<field name="store">45.17614,-93.87341</field>
|
53
|
+
<field name="manufacturedate_dt">2006-02-13T15:26:37Z</field>
|
54
|
+
</doc>
|
55
|
+
</add>
|
56
|
+
|
@@ -0,0 +1,60 @@
|
|
1
|
+
<!--
|
2
|
+
Licensed to the Apache Software Foundation (ASF) under one or more
|
3
|
+
contributor license agreements. See the NOTICE file distributed with
|
4
|
+
this work for additional information regarding copyright ownership.
|
5
|
+
The ASF licenses this file to You under the Apache License, Version 2.0
|
6
|
+
(the "License"); you may not use this file except in compliance with
|
7
|
+
the License. You may obtain a copy of the License at
|
8
|
+
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
|
11
|
+
Unless required by applicable law or agreed to in writing, software
|
12
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
See the License for the specific language governing permissions and
|
15
|
+
limitations under the License.
|
16
|
+
-->
|
17
|
+
|
18
|
+
<add>
|
19
|
+
|
20
|
+
<doc>
|
21
|
+
<field name="id">F8V7067-APL-KIT</field>
|
22
|
+
<field name="name">Belkin Mobile Power Cord for iPod w/ Dock</field>
|
23
|
+
<field name="manu">Belkin</field>
|
24
|
+
<!-- Join -->
|
25
|
+
<field name="manu_id_s">belkin</field>
|
26
|
+
<field name="cat">electronics</field>
|
27
|
+
<field name="cat">connector</field>
|
28
|
+
<field name="features">car power adapter, white</field>
|
29
|
+
<field name="weight">4</field>
|
30
|
+
<field name="price">19.95</field>
|
31
|
+
<field name="popularity">1</field>
|
32
|
+
<field name="inStock">false</field>
|
33
|
+
<!-- Buffalo store -->
|
34
|
+
<field name="store">45.18014,-93.87741</field>
|
35
|
+
<field name="manufacturedate_dt">2005-08-01T16:30:25Z</field>
|
36
|
+
</doc>
|
37
|
+
|
38
|
+
<doc>
|
39
|
+
<field name="id">IW-02</field>
|
40
|
+
<field name="name">iPod & iPod Mini USB 2.0 Cable</field>
|
41
|
+
<field name="manu">Belkin</field>
|
42
|
+
<!-- Join -->
|
43
|
+
<field name="manu_id_s">belkin</field>
|
44
|
+
<field name="cat">electronics</field>
|
45
|
+
<field name="cat">connector</field>
|
46
|
+
<field name="features">car power adapter for iPod, white</field>
|
47
|
+
<field name="weight">2</field>
|
48
|
+
<field name="price">11.50</field>
|
49
|
+
<field name="popularity">1</field>
|
50
|
+
<field name="inStock">false</field>
|
51
|
+
<!-- San Francisco store -->
|
52
|
+
<field name="store">37.7752,-122.4232</field>
|
53
|
+
<field name="manufacturedate_dt">2006-02-14T23:55:59Z</field>
|
54
|
+
</doc>
|
55
|
+
|
56
|
+
|
57
|
+
</add>
|
58
|
+
|
59
|
+
|
60
|
+
|
@@ -0,0 +1,40 @@
|
|
1
|
+
<!--
|
2
|
+
Licensed to the Apache Software Foundation (ASF) under one or more
|
3
|
+
contributor license agreements. See the NOTICE file distributed with
|
4
|
+
this work for additional information regarding copyright ownership.
|
5
|
+
The ASF licenses this file to You under the Apache License, Version 2.0
|
6
|
+
(the "License"); you may not use this file except in compliance with
|
7
|
+
the License. You may obtain a copy of the License at
|
8
|
+
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
|
11
|
+
Unless required by applicable law or agreed to in writing, software
|
12
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
See the License for the specific language governing permissions and
|
15
|
+
limitations under the License.
|
16
|
+
-->
|
17
|
+
|
18
|
+
<add><doc>
|
19
|
+
<field name="id">MA147LL/A</field>
|
20
|
+
<field name="name">Apple 60 GB iPod with Video Playback Black</field>
|
21
|
+
<field name="manu">Apple Computer Inc.</field>
|
22
|
+
<!-- Join -->
|
23
|
+
<field name="manu_id_s">apple</field>
|
24
|
+
<field name="cat">electronics</field>
|
25
|
+
<field name="cat">music</field>
|
26
|
+
<field name="features">iTunes, Podcasts, Audiobooks</field>
|
27
|
+
<field name="features">Stores up to 15,000 songs, 25,000 photos, or 150 hours of video</field>
|
28
|
+
<field name="features">2.5-inch, 320x240 color TFT LCD display with LED backlight</field>
|
29
|
+
<field name="features">Up to 20 hours of battery life</field>
|
30
|
+
<field name="features">Plays AAC, MP3, WAV, AIFF, Audible, Apple Lossless, H.264 video</field>
|
31
|
+
<field name="features">Notes, Calendar, Phone book, Hold button, Date display, Photo wallet, Built-in games, JPEG photo playback, Upgradeable firmware, USB 2.0 compatibility, Playback speed control, Rechargeable capability, Battery level indication</field>
|
32
|
+
<field name="includes">earbud headphones, USB cable</field>
|
33
|
+
<field name="weight">5.5</field>
|
34
|
+
<field name="price">399.00</field>
|
35
|
+
<field name="popularity">10</field>
|
36
|
+
<field name="inStock">true</field>
|
37
|
+
<!-- Dodge City store -->
|
38
|
+
<field name="store">37.7752,-100.0232</field>
|
39
|
+
<field name="manufacturedate_dt">2005-10-12T08:00:00Z</field>
|
40
|
+
</doc></add>
|
@@ -0,0 +1,75 @@
|
|
1
|
+
<!--
|
2
|
+
Licensed to the Apache Software Foundation (ASF) under one or more
|
3
|
+
contributor license agreements. See the NOTICE file distributed with
|
4
|
+
this work for additional information regarding copyright ownership.
|
5
|
+
The ASF licenses this file to You under the Apache License, Version 2.0
|
6
|
+
(the "License"); you may not use this file except in compliance with
|
7
|
+
the License. You may obtain a copy of the License at
|
8
|
+
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
|
11
|
+
Unless required by applicable law or agreed to in writing, software
|
12
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
See the License for the specific language governing permissions and
|
15
|
+
limitations under the License.
|
16
|
+
-->
|
17
|
+
|
18
|
+
<add>
|
19
|
+
<doc>
|
20
|
+
<field name="id">adata</field>
|
21
|
+
<field name="compName_s">A-Data Technology</field>
|
22
|
+
<field name="address_s">46221 Landing Parkway Fremont, CA 94538</field>
|
23
|
+
</doc>
|
24
|
+
<doc>
|
25
|
+
<field name="id">apple</field>
|
26
|
+
<field name="compName_s">Apple</field>
|
27
|
+
<field name="address_s">1 Infinite Way, Cupertino CA</field>
|
28
|
+
</doc>
|
29
|
+
<doc>
|
30
|
+
<field name="id">asus</field>
|
31
|
+
<field name="compName_s">ASUS Computer</field>
|
32
|
+
<field name="address_s">800 Corporate Way Fremont, CA 94539</field>
|
33
|
+
</doc>
|
34
|
+
<doc>
|
35
|
+
<field name="id">ati</field>
|
36
|
+
<field name="compName_s">ATI Technologies</field>
|
37
|
+
<field name="address_s">33 Commerce Valley Drive East Thornhill, ON L3T 7N6 Canada</field>
|
38
|
+
</doc>
|
39
|
+
<doc>
|
40
|
+
<field name="id">belkin</field>
|
41
|
+
<field name="compName_s">Belkin</field>
|
42
|
+
<field name="address_s">12045 E. Waterfront Drive Playa Vista, CA 90094</field>
|
43
|
+
</doc>
|
44
|
+
<doc>
|
45
|
+
<field name="id">canon</field>
|
46
|
+
<field name="compName_s">Canon, Inc.</field>
|
47
|
+
<field name="address_s">One Canon Plaza Lake Success, NY 11042</field>
|
48
|
+
</doc>
|
49
|
+
<doc>
|
50
|
+
<field name="id">corsair</field>
|
51
|
+
<field name="compName_s">Corsair Microsystems</field>
|
52
|
+
<field name="address_s">46221 Landing Parkway Fremont, CA 94538</field>
|
53
|
+
</doc>
|
54
|
+
<doc>
|
55
|
+
<field name="id">dell</field>
|
56
|
+
<field name="compName_s">Dell, Inc.</field>
|
57
|
+
<field name="address_s">One Dell Way Round Rock, Texas 78682</field>
|
58
|
+
</doc>
|
59
|
+
<doc>
|
60
|
+
<field name="id">maxtor</field>
|
61
|
+
<field name="compName_s">Maxtor Corporation</field>
|
62
|
+
<field name="address_s">920 Disc Drive Scotts Valley, CA 95066</field>
|
63
|
+
</doc>
|
64
|
+
<doc>
|
65
|
+
<field name="id">samsung</field>
|
66
|
+
<field name="compName_s">Samsung Electronics Co. Ltd.</field>
|
67
|
+
<field name="address_s">105 Challenger Rd. Ridgefield Park, NJ 07660-0511</field>
|
68
|
+
</doc>
|
69
|
+
<doc>
|
70
|
+
<field name="id">viewsonic</field>
|
71
|
+
<field name="compName_s">ViewSonic Corp</field>
|
72
|
+
<field name="address_s">381 Brea Canyon Road Walnut, CA 91789-0708</field>
|
73
|
+
</doc>
|
74
|
+
</add>
|
75
|
+
|
@@ -0,0 +1,77 @@
|
|
1
|
+
<!--
|
2
|
+
Licensed to the Apache Software Foundation (ASF) under one or more
|
3
|
+
contributor license agreements. See the NOTICE file distributed with
|
4
|
+
this work for additional information regarding copyright ownership.
|
5
|
+
The ASF licenses this file to You under the Apache License, Version 2.0
|
6
|
+
(the "License"); you may not use this file except in compliance with
|
7
|
+
the License. You may obtain a copy of the License at
|
8
|
+
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
|
11
|
+
Unless required by applicable law or agreed to in writing, software
|
12
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
See the License for the specific language governing permissions and
|
15
|
+
limitations under the License.
|
16
|
+
-->
|
17
|
+
|
18
|
+
<add>
|
19
|
+
<doc>
|
20
|
+
<field name="id">TWINX2048-3200PRO</field>
|
21
|
+
<field name="name">CORSAIR XMS 2GB (2 x 1GB) 184-Pin DDR SDRAM Unbuffered DDR 400 (PC 3200) Dual Channel Kit System Memory - Retail</field>
|
22
|
+
<field name="manu">Corsair Microsystems Inc.</field>
|
23
|
+
<!-- Join -->
|
24
|
+
<field name="manu_id_s">corsair</field>
|
25
|
+
<field name="cat">electronics</field>
|
26
|
+
<field name="cat">memory</field>
|
27
|
+
<field name="features">CAS latency 2, 2-3-3-6 timing, 2.75v, unbuffered, heat-spreader</field>
|
28
|
+
<field name="price">185</field>
|
29
|
+
<field name="popularity">5</field>
|
30
|
+
<field name="inStock">true</field>
|
31
|
+
<!-- San Francisco store -->
|
32
|
+
<field name="store">37.7752,-122.4232</field>
|
33
|
+
<field name="manufacturedate_dt">2006-02-13T15:26:37Z</field>
|
34
|
+
|
35
|
+
<!-- a field for testing payload tagged text via DelimitedPayloadTokenFilter -->
|
36
|
+
<field name="payloads">electronics|6.0 memory|3.0</field>
|
37
|
+
</doc>
|
38
|
+
|
39
|
+
<doc>
|
40
|
+
<field name="id">VS1GB400C3</field>
|
41
|
+
<field name="name">CORSAIR ValueSelect 1GB 184-Pin DDR SDRAM Unbuffered DDR 400 (PC 3200) System Memory - Retail</field>
|
42
|
+
<field name="manu">Corsair Microsystems Inc.</field>
|
43
|
+
<!-- Join -->
|
44
|
+
<field name="manu_id_s">corsair</field>
|
45
|
+
<field name="cat">electronics</field>
|
46
|
+
<field name="cat">memory</field>
|
47
|
+
<field name="price">74.99</field>
|
48
|
+
<field name="popularity">7</field>
|
49
|
+
<field name="inStock">true</field>
|
50
|
+
<!-- Dodge City store -->
|
51
|
+
<field name="store">37.7752,-100.0232</field>
|
52
|
+
<field name="manufacturedate_dt">2006-02-13T15:26:37Z</field>
|
53
|
+
|
54
|
+
<field name="payloads">electronics|4.0 memory|2.0</field>
|
55
|
+
</doc>
|
56
|
+
|
57
|
+
<doc>
|
58
|
+
<field name="id">VDBDB1A16</field>
|
59
|
+
<field name="name">A-DATA V-Series 1GB 184-Pin DDR SDRAM Unbuffered DDR 400 (PC 3200) System Memory - OEM</field>
|
60
|
+
<field name="manu">A-DATA Technology Inc.</field>
|
61
|
+
<!-- Join -->
|
62
|
+
<field name="manu_id_s">corsair</field>
|
63
|
+
<field name="cat">electronics</field>
|
64
|
+
<field name="cat">memory</field>
|
65
|
+
<field name="features">CAS latency 3, 2.7v</field>
|
66
|
+
<!-- note: price & popularity is missing on this one -->
|
67
|
+
<field name="popularity">0</field>
|
68
|
+
<field name="inStock">true</field>
|
69
|
+
<!-- Buffalo store -->
|
70
|
+
<field name="store">45.18414,-93.88141</field>
|
71
|
+
<field name="manufacturedate_dt">2006-02-13T15:26:37Z</field>
|
72
|
+
|
73
|
+
<field name="payloads">electronics|0.9 memory|0.1</field>
|
74
|
+
</doc>
|
75
|
+
|
76
|
+
</add>
|
77
|
+
|
@@ -0,0 +1,65 @@
|
|
1
|
+
<!--
|
2
|
+
Licensed to the Apache Software Foundation (ASF) under one or more
|
3
|
+
contributor license agreements. See the NOTICE file distributed with
|
4
|
+
this work for additional information regarding copyright ownership.
|
5
|
+
The ASF licenses this file to You under the Apache License, Version 2.0
|
6
|
+
(the "License"); you may not use this file except in compliance with
|
7
|
+
the License. You may obtain a copy of the License at
|
8
|
+
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
|
11
|
+
Unless required by applicable law or agreed to in writing, software
|
12
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
See the License for the specific language governing permissions and
|
15
|
+
limitations under the License.
|
16
|
+
-->
|
17
|
+
|
18
|
+
<!-- Example documents utilizing the CurrencyField type -->
|
19
|
+
<add>
|
20
|
+
<doc>
|
21
|
+
<field name="id">USD</field>
|
22
|
+
<field name="name">One Dollar</field>
|
23
|
+
<field name="manu">Bank of America</field>
|
24
|
+
<field name="manu_id_s">boa</field>
|
25
|
+
<field name="cat">currency</field>
|
26
|
+
<field name="features">Coins and notes</field>
|
27
|
+
<field name="price_c">1,USD</field>
|
28
|
+
<field name="inStock">true</field>
|
29
|
+
</doc>
|
30
|
+
|
31
|
+
<doc>
|
32
|
+
<field name="id">EUR</field>
|
33
|
+
<field name="name">One Euro</field>
|
34
|
+
<field name="manu">European Union</field>
|
35
|
+
<field name="manu_id_s">eu</field>
|
36
|
+
<field name="cat">currency</field>
|
37
|
+
<field name="features">Coins and notes</field>
|
38
|
+
<field name="price_c">1,EUR</field>
|
39
|
+
<field name="inStock">true</field>
|
40
|
+
</doc>
|
41
|
+
|
42
|
+
<doc>
|
43
|
+
<field name="id">GBP</field>
|
44
|
+
<field name="name">One British Pound</field>
|
45
|
+
<field name="manu">U.K.</field>
|
46
|
+
<field name="manu_id_s">uk</field>
|
47
|
+
<field name="cat">currency</field>
|
48
|
+
<field name="features">Coins and notes</field>
|
49
|
+
<field name="price_c">1,GBP</field>
|
50
|
+
<field name="inStock">true</field>
|
51
|
+
</doc>
|
52
|
+
|
53
|
+
<doc>
|
54
|
+
<field name="id">NOK</field>
|
55
|
+
<field name="name">One Krone</field>
|
56
|
+
<field name="manu">Bank of Norway</field>
|
57
|
+
<field name="manu_id_s">nor</field>
|
58
|
+
<field name="cat">currency</field>
|
59
|
+
<field name="features">Coins and notes</field>
|
60
|
+
<field name="price_c">1,NOK</field>
|
61
|
+
<field name="inStock">true</field>
|
62
|
+
</doc>
|
63
|
+
|
64
|
+
</add>
|
65
|
+
|