C# Class Aqueduct.SitecoreLib.Search.Crawlers.AdvancedDatabaseCrawler

Inheritance: DatabaseCrawler
显示文件 Open project: aqueduct/Aqueduct.SitecoreLib

Public Methods

Method Description
AddDynamicFields ( XmlNode configNode ) : void
AddFieldCrawlers ( XmlNode configNode ) : void
AddFieldTypes ( XmlNode configNode ) : void
ExcludeField ( string value ) : void
IncludeField ( string value ) : void

Protected Methods

Method Description
AddAllFields ( Lucene.Net.Documents.Document document, System.Item item, bool versionSpecific ) : void
CreateField ( string name, string value, Field storageType, Field indexType, Field vectorType, float boost ) : AbstractField
FilteredFields ( System.Item item ) : List
GetIndexType ( Sitecore.Data.Fields.Field field ) : Lucene.Net.Documents.Field.Index
GetStorageType ( Sitecore.Data.Fields.Field field ) : Lucene.Net.Documents.Field.Store
GetVectorType ( Sitecore.Data.Fields.Field field ) : Lucene.Net.Documents.Field.TermVector
ProcessDynamicFields ( Lucene.Net.Documents.Document document, System.Item item ) : void
ProcessField ( Lucene.Net.Documents.Document doc, string fieldKey, string fieldValue, Field storage, Field index ) : void
ProcessField ( Lucene.Net.Documents.Document doc, string fieldKey, string fieldValue, Field storage, Field index, Field vector ) : void
ProcessField ( Lucene.Net.Documents.Document doc, string fieldKey, string fieldValue, Field storage, Field index, Field vector, float boost ) : void

Method Details

AddAllFields() protected method

protected AddAllFields ( Lucene.Net.Documents.Document document, System.Item item, bool versionSpecific ) : void
document Lucene.Net.Documents.Document
item System.Item
versionSpecific bool
return void

AddDynamicFields() public method

public AddDynamicFields ( XmlNode configNode ) : void
configNode System.Xml.XmlNode
return void

AddFieldCrawlers() public method

public AddFieldCrawlers ( XmlNode configNode ) : void
configNode System.Xml.XmlNode
return void

AddFieldTypes() public method

public AddFieldTypes ( XmlNode configNode ) : void
configNode System.Xml.XmlNode
return void

CreateField() protected method

protected CreateField ( string name, string value, Field storageType, Field indexType, Field vectorType, float boost ) : AbstractField
name string
value string
storageType Lucene.Net.Documents.Field
indexType Lucene.Net.Documents.Field
vectorType Lucene.Net.Documents.Field
boost float
return Lucene.Net.Documents.AbstractField

ExcludeField() public method

public ExcludeField ( string value ) : void
value string
return void

FilteredFields() protected method

protected FilteredFields ( System.Item item ) : List
item System.Item
return List

GetIndexType() protected method

protected GetIndexType ( Sitecore.Data.Fields.Field field ) : Lucene.Net.Documents.Field.Index
field Sitecore.Data.Fields.Field
return Lucene.Net.Documents.Field.Index

GetStorageType() protected method

protected GetStorageType ( Sitecore.Data.Fields.Field field ) : Lucene.Net.Documents.Field.Store
field Sitecore.Data.Fields.Field
return Lucene.Net.Documents.Field.Store

GetVectorType() protected method

protected GetVectorType ( Sitecore.Data.Fields.Field field ) : Lucene.Net.Documents.Field.TermVector
field Sitecore.Data.Fields.Field
return Lucene.Net.Documents.Field.TermVector

IncludeField() public method

public IncludeField ( string value ) : void
value string
return void

ProcessDynamicFields() protected method

protected ProcessDynamicFields ( Lucene.Net.Documents.Document document, System.Item item ) : void
document Lucene.Net.Documents.Document
item System.Item
return void

ProcessField() protected method

protected ProcessField ( Lucene.Net.Documents.Document doc, string fieldKey, string fieldValue, Field storage, Field index ) : void
doc Lucene.Net.Documents.Document
fieldKey string
fieldValue string
storage Lucene.Net.Documents.Field
index Lucene.Net.Documents.Field
return void

ProcessField() protected method

protected ProcessField ( Lucene.Net.Documents.Document doc, string fieldKey, string fieldValue, Field storage, Field index, Field vector ) : void
doc Lucene.Net.Documents.Document
fieldKey string
fieldValue string
storage Lucene.Net.Documents.Field
index Lucene.Net.Documents.Field
vector Lucene.Net.Documents.Field
return void

ProcessField() protected method

protected ProcessField ( Lucene.Net.Documents.Document doc, string fieldKey, string fieldValue, Field storage, Field index, Field vector, float boost ) : void
doc Lucene.Net.Documents.Document
fieldKey string
fieldValue string
storage Lucene.Net.Documents.Field
index Lucene.Net.Documents.Field
vector Lucene.Net.Documents.Field
boost float
return void