Revision 7588,
1.3 KB
checked in by adir, 11 years ago
(diff) |
Ticket #000 - Adicionando a integracao de buscas com Solr na base a ser isnerida na comunidade
|
Line | |
---|
1 | <dataConfig> |
---|
2 | <dataSource type="URLDataSource" /> |
---|
3 | <document> |
---|
4 | <entity name="slashdot" |
---|
5 | pk="link" |
---|
6 | url="http://rss.slashdot.org/Slashdot/slashdot" |
---|
7 | processor="XPathEntityProcessor" |
---|
8 | forEach="/RDF/channel | /RDF/item" |
---|
9 | transformer="DateFormatTransformer"> |
---|
10 | |
---|
11 | <field column="source" xpath="/RDF/channel/title" commonField="true" /> |
---|
12 | <field column="source-link" xpath="/RDF/channel/link" commonField="true" /> |
---|
13 | <field column="subject" xpath="/RDF/channel/subject" commonField="true" /> |
---|
14 | |
---|
15 | <field column="title" xpath="/RDF/item/title" /> |
---|
16 | <field column="link" xpath="/RDF/item/link" /> |
---|
17 | <field column="description" xpath="/RDF/item/description" /> |
---|
18 | <field column="creator" xpath="/RDF/item/creator" /> |
---|
19 | <field column="item-subject" xpath="/RDF/item/subject" /> |
---|
20 | <field column="date" xpath="/RDF/item/date" dateTimeFormat="yyyy-MM-dd'T'hh:mm:ss" /> |
---|
21 | <field column="slash-department" xpath="/RDF/item/department" /> |
---|
22 | <field column="slash-section" xpath="/RDF/item/section" /> |
---|
23 | <field column="slash-comments" xpath="/RDF/item/comments" /> |
---|
24 | </entity> |
---|
25 | </document> |
---|
26 | </dataConfig> |
---|
Note: See
TracBrowser
for help on using the repository browser.