Import anchors  Appendix D: Using the Enterprise Portal Samples

Appendix C: Setting Up Automatic Indexing and Search Functionality

[job_name] section of configuration file

All key=value pairs that appear in the [Default] section can also appear in the [job_name] section. Entries in [job_name] overwrite the settings in [Default]. If an entry is not in [job_name], the indexing utility uses the value from [Default].

An example of the automatic indexing configuration file is shown below:

[Configuration]
PollingMethod=2
PollingPeriod=5000
RemoveLogFileOnStart=on
Number=1
0=Job0

[Default]
PollingAction=2
PollingPostAction=0
MoveToDirectory=
PollingMaxNumber=1000
filePollFilename=queue1
fileBaseDirectory=
directoryPathCSVs=
directoryFileMatch=*
directoryRecurse=on
DreHost=
QueryPort=
IndexPort=
importIDXFilesAction=1
importIDXFilesMoveTo=
Database=Test
ImportStoreContent=on
ImportTempDir=
ImportStripTagCSVs=B,H1,ZZ
ImportPathReplaceUpToSlash=4
ImportPathReplaceString=http://www.southpark.com
ImportRefReplaceCSVs=I:\inetpub\wwwroot\,\
ImportRefReplaceWithCSVs=http://193.128.174.142/,/
ImportMinLength=0
ImportMinLengthWords=0
ImportMaxLength=10000
ImportMaxLengthWords=500000
ImportSummary=on
ImportBreaking=off
ImportBreakingMinParagraphWords=10
ImportBreakingMaxParagraphWords=200
ImportBreakingMinDocWords=1500
ImportStripLinks=off
ImportMetaToFields=off
TextImportExtns=.ini
HtmlImportExtns=.tmpl
FixedFieldName0=SiteImage
FixedFieldValue0=/sourceimages/times.gif
FieldName0=URL_NAME
FieldStart0=<!—URL_NAME=
FieldStop0=?
deleteRefReplaceCSVs=
deleteRefReplaceWithCSVs=

[Job0]
PollingAction=2
PollingPostAction=0
MoveToDirectory=
PollingMaxNumber=1000
filePollFilename=queue2
fileBaseDirectory=
directoryPathCSVs=
directoryFileMatch=*
directoryRecurse=on
DreHost=
QueryPort=
IndexPort=
importIDXFilesAction=1
importIDXFilesMoveTo=
Database=Test
ImportStoreContent=on
ImportTempDir=
ImportStripTagCSVs=B,H1,ZZ
ImportPathReplaceUpToSlash=4
ImportPathReplaceString=http://www.southpark.com
ImportRefReplaceCSVs=I:\inetpub\wwwroot\,\
ImportRefReplaceWithCSVs=http://193.128.174.142/,/
ImportMinLength=0
ImportMinLengthWords=0
ImportMaxLength=10000
ImportMaxLengthWords=500000
ImportSummary=on
ImportBreaking=off
ImportBreakingMinParagraphWords=10
ImportBreakingMaxParagraphWords=200
ImportBreakingMinDocWords=1500
ImportStripLinks=off
ImportMetaToFields=off
TextImportExtns=.ini
HtmlImportExtns=.tmpl
FixedFieldName0=SiteImage
FixedFieldValue0=/sourceimages/times.gif
FieldName0=URL_NAME
FieldStart0=<!--URL_NAME=
FieldStop0=-->
deleteRefReplaceCSVs=
deleteRefReplaceWithCSVs=




Copyright © 2004. Sybase Inc. All rights reserved. Appendix D: Using the Enterprise Portal Samples

View this book as PDF