diff options
| author | Stanley Yip <stanley_yip@brown.edu> | 2020-02-09 14:58:57 -0500 |
|---|---|---|
| committer | Stanley Yip <stanley_yip@brown.edu> | 2020-02-09 14:58:57 -0500 |
| commit | f6179334d6f2942631caa17b7c8ae2531d87c7c4 (patch) | |
| tree | 091da0ef7bedb900c958c28cebe4058fade644cf /solr-8.1.1/example/example-DIH/solr/db/conf/db-data-config.xml | |
| parent | 07141291bee793955d7061f4e479942d7aceda67 (diff) | |
| parent | 87167fd126e161b29d8d798a5f04e3cf159aae16 (diff) | |
recommender system works
Diffstat (limited to 'solr-8.1.1/example/example-DIH/solr/db/conf/db-data-config.xml')
| -rw-r--r-- | solr-8.1.1/example/example-DIH/solr/db/conf/db-data-config.xml | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/solr-8.1.1/example/example-DIH/solr/db/conf/db-data-config.xml b/solr-8.1.1/example/example-DIH/solr/db/conf/db-data-config.xml deleted file mode 100644 index 4a7dba955..000000000 --- a/solr-8.1.1/example/example-DIH/solr/db/conf/db-data-config.xml +++ /dev/null @@ -1,29 +0,0 @@ -<dataConfig> - <dataSource driver="org.hsqldb.jdbcDriver" url="jdbc:hsqldb:${solr.install.dir}/example/example-DIH/hsqldb/ex" user="sa" /> - <document> - <entity name="item" query="select * from item" - deltaQuery="select id from item where last_modified > '${dataimporter.last_index_time}'"> - <field column="NAME" name="name" /> - - <entity name="feature" - query="select DESCRIPTION from FEATURE where ITEM_ID='${item.ID}'" - deltaQuery="select ITEM_ID from FEATURE where last_modified > '${dataimporter.last_index_time}'" - parentDeltaQuery="select ID from item where ID=${feature.ITEM_ID}"> - <field name="features" column="DESCRIPTION" /> - </entity> - - <entity name="item_category" - query="select CATEGORY_ID from item_category where ITEM_ID='${item.ID}'" - deltaQuery="select ITEM_ID, CATEGORY_ID from item_category where last_modified > '${dataimporter.last_index_time}'" - parentDeltaQuery="select ID from item where ID=${item_category.ITEM_ID}"> - <entity name="category" - query="select DESCRIPTION from category where ID = '${item_category.CATEGORY_ID}'" - deltaQuery="select ID from category where last_modified > '${dataimporter.last_index_time}'" - parentDeltaQuery="select ITEM_ID, CATEGORY_ID from item_category where CATEGORY_ID=${category.ID}"> - <field column="DESCRIPTION" name="cat" /> - </entity> - </entity> - </entity> - </document> -</dataConfig> - |
