Edit C:\galaxie\deploy\res\solr\edeal\conf\db-data-config.xml
<?xml version="1.0" encoding="UTF-8"?><dataConfig> <dataSource type="com.edeal.frontline.fulltextsearch.EdealDbReader" name="db-edeal" contextPath="/Head"/> <document name="EDEAL"> <entity name="Enterprise" dataSource="db-edeal" pk="EntID" transformer="com.edeal.frontline.fulltextsearch.EdealTransformer" query="SELECT EntAcronym AS "EntAcronym", EntAd1 AS "EntAd1", EntAtvID AS "EntAtvID", EntCity AS "EntCity", EntCorpName AS "EntCorpName", EntID AS "EntID", EntSiren AS "EntSiren", EntSiret AS "EntSiret", EntUpd AS "EntUpd", EntWeb AS "EntWeb", EntZip AS "EntZip" FROM Enterprise" deltaQuery="SELECT EntID AS "EntID" FROM Enterprise WHERE EntUpd > '${dataimporter.functions.formatDate(dataimporter.last_index_time,yyyyMMdd HH:mm:ss:SSS)}'"> <field column="EntAcronym" name="prim"/> <field column="EntAd1" name="prim"/> <entity name="RefEntAtvID" dataSource="db-edeal" query="SELECT refte1 AS "refte1" FROM RefValues WHERE RefID = '${Enterprise.EntAtvID}'"> <field column="refte1" name="sec"/> </entity> <field column="EntCity" name="sec"/> <field column="EntCorpName" name="prim"/> <field column="EntID" name="id"/> <field column="EntSiren" name="prim"/> <field column="EntSiret" name="prim"/> <field column="EntUpd" name="last_modified"/> <field column="EntWeb" name="prim"/> <field column="EntZip" name="sec"/> <field column="meta_reader" name="meta_reader" value="read_enterprise.fl?id="/> <field column="meta_object" name="meta_object" value="Enterprise"/> </entity> <entity name="Interaction" dataSource="db-edeal" pk="IntID" transformer="com.edeal.frontline.fulltextsearch.EdealTransformer" query="SELECT IntID AS "IntID", IntSubject AS "IntSubject", IntUpd AS "IntUpd" FROM Interaction" deltaQuery="SELECT IntID AS "IntID" FROM Interaction WHERE IntUpd > '${dataimporter.functions.formatDate(dataimporter.last_index_time,yyyyMMdd HH:mm:ss:SSS)}'"> <field column="IntID" name="id"/> <field column="IntSubject" name="prim"/> <field column="IntUpd" name="last_modified"/> <field column="meta_object" name="meta_object" value="Interaction"/> </entity> <entity name="Location" dataSource="db-edeal" pk="LocID" transformer="com.edeal.frontline.fulltextsearch.EdealTransformer" query="SELECT LocID AS "LocID", LocName AS "LocName", LocPhone AS "LocPhone", LocUpd AS "LocUpd" FROM Location" deltaQuery="SELECT LocID AS "LocID" FROM Location WHERE LocUpd > '${dataimporter.functions.formatDate(dataimporter.last_index_time,yyyyMMdd HH:mm:ss:SSS)}'"> <field column="LocID" name="id"/> <field column="LocName" name="prim"/> <field column="LocPhone" name="prim"/> <field column="LocUpd" name="last_modified"/> <field column="meta_object" name="meta_object" value="Location"/> </entity> <entity name="Person" dataSource="db-edeal" pk="PerID" transformer="com.edeal.frontline.fulltextsearch.EdealTransformer" query="SELECT PerAd1 AS "PerAd1", PerCity AS "PerCity", PerCivID AS "PerCivID", PerEntID AS "PerEntID", PerFctID AS "PerFctID", PerFstName AS "PerFstName", PerID AS "PerID", PerMail AS "PerMail", PerMobile AS "PerMobile", PerName AS "PerName", PerUpd AS "PerUpd", PerZip AS "PerZip" FROM Person" deltaQuery="SELECT PerID AS "PerID" FROM Person WHERE PerUpd > '${dataimporter.functions.formatDate(dataimporter.last_index_time,yyyyMMdd HH:mm:ss:SSS)}'"> <field column="PerAd1" name="sec"/> <entity name="MvaPerAttID" dataSource="db-edeal" query="SELECT MvaText AS "MvaText" FROM MvaPerAttID WHERE MvaColID = '${Person.PerID}'"> <entity name="Attachment" dataSource="db-edeal" transformer="com.edeal.frontline.fulltextsearch.EdealTransformer" query="SELECT AttFileName AS "AttFileName", AttFile AS "AttFile" FROM Attachment WHERE AttID = '${MvaPerAttID.MvaText}'"> <field column="AttFileName" name="prim"/> <field column="AttFile" name="embedded"/> </entity> </entity> <field column="PerCity" name="sec"/> <entity name="RefPerCivID" dataSource="db-edeal" query="SELECT refte1 AS "refte1" FROM RefValues WHERE RefID = '${Person.PerCivID}'"> <field column="refte1" name="facet_PerCivID"/> </entity> <entity name="Enterprise" dataSource="db-edeal" transformer="com.edeal.frontline.fulltextsearch.EdealTransformer" query="SELECT EntAd1 AS "EntAd1", EntAtvID AS "EntAtvID", EntZip AS "EntZip", EntID AS "EntID", EntSiren AS "EntSiren", EntUpd AS "EntUpd", EntCity AS "EntCity", EntSiret AS "EntSiret", EntWeb AS "EntWeb", EntCorpName AS "EntCorpName", EntAcronym AS "EntAcronym" FROM Enterprise WHERE EntID = '${Person.PerEntID}'"> <field column="EntAd1" name="prim"/> <field column="EntAtvID" name="sec"/> <field column="EntZip" name="sec"/> <field column="EntID" name="id"/> <field column="EntSiren" name="prim"/> <field column="EntUpd" name="last_modified"/> <field column="EntCity" name="sec"/> <field column="EntSiret" name="prim"/> <field column="EntWeb" name="prim"/> <field column="EntCorpName" name="prim"/> <field column="EntAcronym" name="prim"/> </entity> <entity name="RefPerFctID" dataSource="db-edeal" query="SELECT refte1 AS "refte1" FROM RefValues WHERE RefID = '${Person.PerFctID}'"> <field column="refte1" name="facet_PerFctID"/> </entity> <field column="PerFstName" name="prim"/> <field column="PerID" name="id"/> <field column="PerMail" name="prim"/> <field column="PerMobile" name="prim"/> <field column="PerName" name="prim"/> <field column="PerUpd" name="last_modified"/> <field column="PerZip" name="sec"/> <field column="meta_reader" name="meta_reader" value="read_person.fl?id="/> <field column="meta_object" name="meta_object" value="Person"/> </entity> </document> </dataConfig>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de