|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |
Aggregates search results.
Results come in from multiple remote nodes asynchronously from request. The result aggregator manages these replies and presents them in a ListView control. When the same resource (keyed on content hash) is reported, the results of that resource are aggregated under the one line in the ListView control. It increases the 'Sources' count, and modifies to Confidence level to reflect this.
Field Summary | |
---|---|
Naanou.Search.Filters | filters |
System.Collections.Hashtable | hash |
System.Windows.Forms.ListView | list |
Naanou.Search.ISearchPanel | search |
int | sourceColIndex |
Constructor Summary | |
---|---|
ResultAggregator(Naanou.Search.Filters filters, Naanou.Search.ISearchPanel search, System.Windows.Forms.ListView list, int sourceColIndex) Constructor |
Method Summary | |
---|---|
void |
Add(Naanou.Common.Search.SearchResult result) Adds a new search result |
void | Add(Naanou.Common.Search.SearchResult result, Naanou.Common.IEntry entry) |
void | Merge(Naanou.Search.ResultAggregate ra, Naanou.Common.Search.SearchResult result, Naanou.Common.IEntry entry) |
Methods inherited from class System.Object |
---|
Equals, Finalize, GetHashCode, GetType, MemberwiseClone, ToString |
Field Detail |
---|
private Naanou.Search.Filters filters
private System.Collections.Hashtable hash
private System.Windows.Forms.ListView list
private Naanou.Search.ISearchPanel search
private int sourceColIndex
Constructor Detail |
---|
public ResultAggregator(Naanou.Search.Filters filters, Naanou.Search.ISearchPanel search, System.Windows.Forms.ListView list, int sourceColIndex)
Constructor
Parameters:
search
- Search panellist
- ListView to usesourceColIndex
- Index that contains the source columnMethod Detail |
---|
public void Add(Naanou.Common.Search.SearchResult result)
Adds a new search result
Parameters:
result
- Result to addprivate void Add(Naanou.Common.Search.SearchResult result, Naanou.Common.IEntry entry)
private void Merge(Naanou.Search.ResultAggregate ra, Naanou.Common.Search.SearchResult result, Naanou.Common.IEntry entry)
|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |