Method | Description | |
---|---|---|
GetAllData ( string indexType ) : IEnumerable |
||
MapProjectToSimpleDataIndexItem ( IPublishedContent project, Examine.LuceneEngine.SimpleDataSet simpleDataSet, string indexType, int projectVotes, |
||
ProjectIndexer_DocumentWriting ( object sender, Examine.LuceneEngine.DocumentWritingEventArgs e ) : void |
Handle custom Lucene indexing when the lucene document is writing
|
|
ProjectIndexer_GatheringNodeData ( object sender, Examine.IndexingNodeDataEventArgs e ) : void |
Need to ensures some custom data is added to this index
|
Method | Description | |
---|---|---|
AddNumericalVersionValue ( Examine.LuceneEngine.DocumentWritingEventArgs e, string fieldName, IEnumerable |
Given the string versions, this will put them into the index as numerical versions, this way we can compare/range query, etc... on versions This stores a numerical version as a Right padded 3 digit combined long number. Example: 7.5.0 would be: 007005000 = 7005000 4.11.0 would be: 004011000 = 4011000 |
|
EnsureUmbracoContext ( ) : Umbraco.Web.UmbracoContext |
public GetAllData ( string indexType ) : IEnumerable |
||
indexType | string | |
return | IEnumerable |
public MapProjectToSimpleDataIndexItem ( IPublishedContent project, Examine.LuceneEngine.SimpleDataSet simpleDataSet, string indexType, int projectVotes, |
||
project | IPublishedContent | |
simpleDataSet | Examine.LuceneEngine.SimpleDataSet | |
indexType | string | |
projectVotes | int | |
files | ||
downloads | int | |
compatVersions | IEnumerable |
|
return | Examine.LuceneEngine.SimpleDataSet |
public static ProjectIndexer_DocumentWriting ( object sender, Examine.LuceneEngine.DocumentWritingEventArgs e ) : void | ||
sender | object | |
e | Examine.LuceneEngine.DocumentWritingEventArgs | |
return | void |
public static ProjectIndexer_GatheringNodeData ( object sender, Examine.IndexingNodeDataEventArgs e ) : void | ||
sender | object | |
e | Examine.IndexingNodeDataEventArgs | |
return | void |