Skip to content

Instantly share code, notes, and snippets.

@tf0054
Created December 23, 2012 11:22
Show Gist options
  • Save tf0054/4362997 to your computer and use it in GitHub Desktop.
Save tf0054/4362997 to your computer and use it in GitHub Desktop.
<?xml version=\"1.0\" encoding=\"UTF-8\"?><config version=\"1.0\">
<collection type=\"ICA\">
<common>
<knownLanguage>ja<\/knownLanguage>
<timezone>Asia\/Tokyo<\/timezone>
<\/common>
<indexer>
<enableDateFacet>$.day<\/enableDateFacet>
<enableDateFacet>$.day_of_month<\/enableDateFacet>
<enableDateFacet>$.month<\/enableDateFacet>
<enableDateFacet>$.year<\/enableDateFacet>
<enableDateFacet>$.month_of_year<\/enableDateFacet>
<enableDateFacet>$.day_of_week<\/enableDateFacet>
<\/indexer>
<parser\/>
<tokenizer\/>
<search>
<secureSearchPreFilter>false<\/secureSearchPreFilter>
<secureSearchPostFilter>false<\/secureSearchPostFilter>
<scoring>
<model>none<\/model>
<proximity\/>
<\/scoring>
<\/search>
<jetty\/>
<dock\/>
<label\/>
<indexes>
<index>
<type>Text<\/type>
<path>text<\/path>
<enabled>true<\/enabled>
<indexMode mode=\"normal\"\/>
<property name=\"SweetSpotLength\" value=\"50\"\/>
<property name=\"BufferSize\" value=\"50\"\/>
<property name=\"MaxFieldLength\" value=\"1000000\"\/>
<property name=\"DirectoryType\" value=\"Replicatable\"\/>
<property name=\"MaxBufferedDocs\" value=\"100000\"\/>
<property name=\"MergeScheduler\" value=\"Concurrent\"\/>
<property name=\"SweetSpotMaxValue\" value=\"0.5\"\/>
<property name=\"CopyDependsOn\" value=\"Facet,AnchorText,Label,Dup,DocumentClustering,Custom\"\/>
<property name=\"CopyInterval\" value=\"10000\"\/>
<property name=\"UseCompoundFile\" value=\"true\"\/>
<property name=\"MergeFactor\" value=\"10\"\/>
<property name=\"IndexSentenceAnnotations\" value=\"false\"\/>
<property name=\"CopyPolicy\" value=\"Continuous\"\/>
<property name=\"SweetSpotMinValue\" value=\"0.02\"\/>
<property name=\"MaxMergeDocs\" value=\"900000\"\/>
<\/index>
<index>
<type>Facet<\/type>
<path>facets<\/path>
<enabled>true<\/enabled>
<indexMode mode=\"normal\"\/>
<property name=\"BufferSize\" value=\"50\"\/>
<property name=\"CacheMissesUntilFill\" value=\"0\"\/>
<property name=\"CompactL2OInitialSize\" value=\"131072\"\/>
<property name=\"CompactL2OLoadFactor\" value=\"0.15\"\/>
<property name=\"CompactL2ONumHashArrays\" value=\"3\"\/>
<property name=\"MaxFieldLength\" value=\"1000000\"\/>
<property name=\"DirectoryType\" value=\"Replicatable\"\/>
<property name=\"MaxBufferedDocs\" value=\"100000\"\/>
<property name=\"MergeScheduler\" value=\"Concurrent\"\/>
<property name=\"L2OCacheSize\" value=\"50000\"\/>
<property name=\"UseCompoundFile\" value=\"true\"\/>
<property name=\"MergeFactor\" value=\"10\"\/>
<property name=\"MaxMergeDocs\" value=\"900000\"\/>
<\/index>
<index>
<type>Facet2<\/type>
<path>facets2<\/path>
<enabled>true<\/enabled>
<indexMode mode=\"normal\"\/>
<property name=\"CopyPolicy\" value=\"Continuous\"\/>
<property name=\"DirectoryType\" value=\"Replicatable\"\/>
<property name=\"CopyInterval\" value=\"10000\"\/>
<\/index>
<index>
<type>Cache<\/type>
<path>cache<\/path>
<enabled>true<\/enabled>
<indexMode mode=\"normal\"\/>
<property name=\"Compress\" value=\"true\"\/>
<property name=\"BufferSize\" value=\"50\"\/>
<property name=\"MaxFieldLength\" value=\"1000000\"\/>
<property name=\"MaxBufferedDocs\" value=\"100000\"\/>
<property name=\"MergeScheduler\" value=\"Concurrent\"\/>
<property name=\"PageSize\" value=\"524288\"\/>
<property name=\"MaxPoolSize\" value=\"10\"\/>
<property name=\"UseCompoundFile\" value=\"true\"\/>
<property name=\"MergeFactor\" value=\"10\"\/>
<property name=\"MaxMergeDocs\" value=\"900000\"\/>
<\/index>
<index>
<type>SeqNo<\/type>
<path>seqno<\/path>
<enabled>true<\/enabled>
<indexMode mode=\"normal\"\/>
<property name=\"DirectoryType\" value=\"FileSystem\"\/>
<property name=\"UseCompoundFile\" value=\"true\"\/>
<\/index>
<index>
<type>Anchor<\/type>
<path>at<\/path>
<enabled>false<\/enabled>
<indexMode mode=\"normal\"\/>
<\/index>
<index>
<type>Thumbnail<\/type>
<path>thumbnail<\/path>
<enabled>false<\/enabled>
<indexMode mode=\"normal\"\/>
<property name=\"CopyPolicy\" value=\"Continuous\"\/>
<property name=\"DirectoryType\" value=\"Replicatable\"\/>
<property name=\"CopyInterval\" value=\"10000\"\/>
<\/index>
<index>
<type>QuickLink<\/type>
<path>quicklink<\/path>
<enabled>true<\/enabled>
<indexMode mode=\"normal\"\/>
<property name=\"DirectoryType\" value=\"FileSystem\"\/>
<\/index>
<index>
<type>QueryLog<\/type>
<path>querylog<\/path>
<enabled>true<\/enabled>
<indexMode mode=\"normal\"\/>
<property name=\"CopyPolicy\" value=\"Continuous\"\/>
<property name=\"DirectoryType\" value=\"Replicatable\"\/>
<property name=\"CopyInterval\" value=\"10000\"\/>
<\/index>
<index>
<type>Dolce<\/type>
<path>dolce<\/path>
<enabled>false<\/enabled>
<indexMode mode=\"normal\"\/>
<property name=\"CopyPolicy\" value=\"Continuous\"\/>
<property name=\"DirectoryType\" value=\"Replicatable\"\/>
<property name=\"CopyDependsOn\" value=\"Facet\"\/>
<property name=\"CopyInterval\" value=\"10000\"\/>
<\/index>
<index>
<type>AnchorText<\/type>
<path>text\/at<\/path>
<enabled>true<\/enabled>
<indexMode mode=\"slave\">
<slaveOf>Text<\/slaveOf>
<\/indexMode>
<\/index>
<index>
<type>Label<\/type>
<path>text\/label<\/path>
<enabled>true<\/enabled>
<indexMode mode=\"slave\">
<slaveOf>Text<\/slaveOf>
<\/indexMode>
<property name=\"CopyDependsOn\" value=\"Facet\"\/>
<\/index>
<index>
<type>Dup<\/type>
<path>text\/dup<\/path>
<enabled>true<\/enabled>
<indexMode mode=\"slave\">
<slaveOf>Text<\/slaveOf>
<\/indexMode>
<\/index>
<index>
<type>DocumentClustering<\/type>
<path>text\/dc<\/path>
<enabled>true<\/enabled>
<indexMode mode=\"slave\">
<slaveOf>Text<\/slaveOf>
<\/indexMode>
<property name=\"CopyDependsOn\" value=\"Facet\"\/>
<\/index>
<index>
<type>Custom<\/type>
<path>text\/custom<\/path>
<enabled>true<\/enabled>
<indexMode mode=\"slave\">
<slaveOf>Text<\/slaveOf>
<\/indexMode>
<property name=\"CopyDependsOn\" value=\"Facet\"\/>
<\/index>
<index>
<type>Overlay<\/type>
<path>text\/overlay<\/path>
<enabled>false<\/enabled>
<indexMode mode=\"slave\">
<slaveOf>Text<\/slaveOf>
<\/indexMode>
<\/index>
<\/indexes>
<fields>
<field name=\"title\" type=\"predefined\">
<fulltextsearchable enabled=\"true\" summary=\"false\"\/>
<fieldsearchable casesensitive=\"false\" enabled=\"true\" sortable=\"false\" tokenized=\"true\"\/>
<returnable enabled=\"true\"\/>
<\/field>
<field name=\"body\">
<fulltextsearchable enabled=\"true\" summary=\"true\"\/>
<returnable enabled=\"false\"\/>
<analyzable enabled=\"true\"\/>
<\/field>
<\/fields>
<mappings>
<condition name=\"$crwty\" value=\"web\">
<fieldmappings>
<rules type=\"implicit\">
<mapping field=\"date\" native=\"Date\"\/>
<mapping field=\"filesize\" native=\"FileSize\"\/>
<mapping field=\"modifieddate\" native=\"ModifiedDate\"\/>
<\/rules>
<\/fieldmappings>
<\/condition>
<\/mappings>
<facetmappings\/>
<AnnotationIndexingSpecs>
<AnnotationIndexingSpec uimaIndex=\"AnnotationIndex\" uimaType=\"com.ibm.es.oze.ContentField\">
<AsField>
<FieldName featurePath=\"\/name\"\/>
<FieldValue featurePath=\"\/coveredText()\"\/>
<\/AsField>
<AsFacet>
<PathComponent featurePath=\"\/name\"\/>
<PathComponent featurePath=\"\/coveredText()\"\/>
<\/AsFacet>
<\/AnnotationIndexingSpec>
<AnnotationIndexingSpec uimaIndex=\"MetaFieldIndex\" uimaType=\"com.ibm.es.oze.MetaField\">
<AsField>
<FieldName featurePath=\"\/name\"\/>
<FieldValue featurePath=\"\/value\"\/>
<\/AsField>
<AsFacet>
<PathComponent featurePath=\"\/name\"\/>
<PathComponent featurePath=\"\/value\"\/>
<\/AsFacet>
<\/AnnotationIndexingSpec>
<AnnotationIndexingSpec uimaIndex=\"AnnotationIndex\" uimaType=\"com.ibm.es.oze.ViewAnnotation\">
<AsFacet>
<PathComponent literal=\"$view\"\/>
<PathComponent featurePath=\"\/name\"\/>
<\/AsFacet>
<\/AnnotationIndexingSpec>
<AnnotationIndexingSpec uimaIndex=\"AnnotationIndex\" uimaType=\"com.ibm.takmi.nlp.annotation_type.ContiguousContext\">
<AsFacet>
<PathComponent featurePath=\"category\"\/>
<PathComponent featurePath=\"representation\"\/>
<\/AsFacet>
<\/AnnotationIndexingSpec>
<AnnotationIndexingSpec uimaIndex=\"AnnotationIndex\" uimaType=\"com.ibm.systemT.Person\">
<AsFacet>
<PathComponent literal=\"$._ne.person\"\/>
<PathComponent featurePath=\"\/coveredText()\"\/>
<\/AsFacet>
<\/AnnotationIndexingSpec>
<AnnotationIndexingSpec uimaIndex=\"AnnotationIndex\" uimaType=\"com.ibm.systemT.Organization\">
<AsFacet>
<PathComponent literal=\"$._ne.organization\"\/>
<PathComponent featurePath=\"\/coveredText()\"\/>
<\/AsFacet>
<\/AnnotationIndexingSpec>
<AnnotationIndexingSpec uimaIndex=\"AnnotationIndex\" uimaType=\"com.ibm.systemT.Location\">
<AsFacet>
<PathComponent literal=\"$._ne.location\"\/>
<PathComponent featurePath=\"\/coveredText()\"\/>
<\/AsFacet>
<\/AnnotationIndexingSpec>
<AnnotationIndexingSpec uimaIndex=\"AnnotationIndex\" uimaType=\"com.ibm.langware.Person\">
<AsFacet>
<PathComponent literal=\"$._ne.person\"\/>
<PathComponent featurePath=\"\/coveredText()\"\/>
<\/AsFacet>
<\/AnnotationIndexingSpec>
<AnnotationIndexingSpec uimaIndex=\"AnnotationIndex\" uimaType=\"com.ibm.langware.Organization\">
<AsFacet>
<PathComponent literal=\"$._ne.organization\"\/>
<PathComponent featurePath=\"\/coveredText()\"\/>
<\/AsFacet>
<\/AnnotationIndexingSpec>
<AnnotationIndexingSpec uimaIndex=\"AnnotationIndex\" uimaType=\"com.ibm.langware.Location\">
<AsFacet>
<PathComponent literal=\"$._ne.location\"\/>
<PathComponent featurePath=\"\/coveredText()\"\/>
<\/AsFacet>
<\/AnnotationIndexingSpec>
<AnnotationIndexingSpec uimaIndex=\"ICMScoreIndex\" uimaType=\"com.ibm.es.oze.ICMScore\">
<AsField>
<FieldName featurePath=\"\/name\"\/>
<FieldValue featurePath=\"\/value\"\/>
<\/AsField>
<\/AnnotationIndexingSpec>
<AnnotationIndexingSpec uimaIndex=\"ICMMetaFieldIndex\" uimaType=\"com.ibm.es.oze.ICMMetaField\">
<AsField>
<FieldName featurePath=\"\/name\"\/>
<FieldValue featurePath=\"\/value\"\/>
<\/AsField>
<AsFacet>
<PathComponent featurePath=\"\/name\"\/>
<PathComponent featurePath=\"\/value\"\/>
<\/AsFacet>
<\/AnnotationIndexingSpec>
<AnnotationIndexingSpec uimaIndex=\"AnnotationIndex\" uimaType=\"com.ibm.takmi.nlp.annotation_type.Collocation\">
<AsFacet>
<PathComponent literal=\"$._dolce.verb.positive\"\/>
<PathComponent featurePath=\"\/modifiee\"\/>
<\/AsFacet>
<Filter featureValue=\"\/kind = 1\"\/>
<\/AnnotationIndexingSpec>
<AnnotationIndexingSpec uimaIndex=\"AnnotationIndex\" uimaType=\"com.ibm.takmi.nlp.annotation_type.Collocation\">
<AsFacet>
<PathComponent literal=\"$._dolce.verb.negative\"\/>
<PathComponent featurePath=\"\/modifiee\"\/>
<\/AsFacet>
<Filter featureValue=\"\/kind = 2\"\/>
<\/AnnotationIndexingSpec>
<AnnotationIndexingSpec uimaIndex=\"AnnotationIndex\" uimaType=\"com.ibm.takmi.nlp.annotation_type.Collocation\">
<AsFacet>
<PathComponent literal=\"$._dolce.noun.negative\"\/>
<PathComponent featurePath=\"\/modifier\"\/>
<PathComponent featurePath=\"\/modifiee\"\/>
<\/AsFacet>
<Filter featureValue=\"\/kind = 3\"\/>
<\/AnnotationIndexingSpec>
<AnnotationIndexingSpec uimaIndex=\"AnnotationIndex\" uimaType=\"OpinionPhrase\">
<AsFacet>
<PathComponent literal=\"$._sentiment.positive\"\/>
<PathComponent featurePath=\"\/sentimentTerm\"\/>
<\/AsFacet>
<Filter featureValue=\"\/polarity = Positive\"\/>
<\/AnnotationIndexingSpec>
<AnnotationIndexingSpec uimaIndex=\"AnnotationIndex\" uimaType=\"OpinionPhrase\">
<AsFacet>
<PathComponent literal=\"$._sentiment.negative\"\/>
<PathComponent featurePath=\"\/sentimentTerm\"\/>
<\/AsFacet>
<Filter featureValue=\"\/polarity = Negative\"\/>
<\/AnnotationIndexingSpec>
<\/AnnotationIndexingSpecs>
<facets>
<countinglist clname=\"$default_flat\"\/>
<countinglist clname=\"$default\" counter_type=\"hierarchical\"\/>
<countinglist clname=\"date\" counter_type=\"singledoc_hierarchy\"\/>
<facet calc_correlation=\"true\" counting_list=\"date\" facetname=\"date\" numresultstocache=\"6000\" origin=\"predefined\" visibility=\"unsecured\"\/>
<\/facets>
<export>
<crawled>
<metadata>false<\/metadata>
<content>false<\/content>
<drop>false<\/drop>
<negative>false<\/negative>
<conditions\/>
<\/crawled>
<analyzed>
<document>false<\/document>
<xcas>false<\/xcas>
<drop>false<\/drop>
<negative>false<\/negative>
<conditions\/>
<\/analyzed>
<searched>
<document>false<\/document>
<\/searched>
<searchedToAnalytics\/>
<inspection>
<report>false<\/report>
<\/inspection>
<report>
<enable>false<\/enable>
<namespace\/>
<\/report>
<\/export>
<icm>
<ranking>false<\/ranking>
<concept>false<\/concept>
<weight>80<\/weight>
<threshold>0.1<\/threshold>
<cluster>
<categorization>true<\/categorization>
<workspaceid\/>
<categoryname\/>
<policy>0<\/policy>
<threshold>0.5<\/threshold>
<scoring>true<\/scoring>
<indexdivisor>1<\/indexdivisor>
<vectordimension>10<\/vectordimension>
<\/cluster>
<\/icm>
<global>
<processor enabled=\"true\" type=\"Label\">
<property name=\"SlaveBuilderDocumentBufferSize\" value=\"2500\"\/>
<property name=\"SlaveBuilderDocumentBufferQueueSize\" value=\"4\"\/>
<\/processor>
<processor enabled=\"true\" type=\"DocumentClustering\"\/>
<\/global>
<views>
<view label=\"Positive\" name=\"_positive\">
<include type=\"document\"\/>
<\/view>
<view label=\"Negative\" name=\"_negative\">
<include type=\"document\"\/>
<\/view>
<\/views>
<flags name=\"Flags\"\/>
<jetty\/>
<\/collection>
<\/config>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment