Skip to main content

Fall 2007

Go Search
Fall 2007
Customer Resource Site
  
Fall 2007 > Search and Navigation Team Task List > SearchFactory Implementation  

Search and Navigation Team Task List: SearchFactory Implementation

Title

SearchFactory Implementation 

Priority

(2) Normal 

Status

In Progress 

% Complete

100% 

Assigned To

Sohum Misra 

Description

Implement the SearchFactory class so that it takes in input parameters and constructs a tree of the proper SearchTree nodes
 
I told Dave you are on the search factory, so
that's where I want you. Fix it to have the proper
methods, and implement the createSelectionTree method,
which should allow for KeywordSearch and TagSearch, for
now. Make sure the code style is abstract enough to
easily allow for adding new types of selection searches.
Also make sure it incorportates tha ability to use the
different types of trees. You can re-define how you
think the parameteers should be properly passed to you
from the front end, if you see a beter way than our list
of string-string pairs. TEST to make sure it creates the
trees you think it does. Also, if you think of a better
way to include the weights of RankingTrees, please
assume such and LET ME KNOW so I can implement it.
UPDATE (10/8): I coded the CreateSelectionTree using a List<SearchParameter> where SearchParameter is a custom class that encapsulates the search type, search value and combination (if any). Wrote unit tests for everything except negation.

Start Date

10/5/2007 11:35 PM 

Due Date

10/8/2007 1:00 PM 
Attachments
Created at 10/5/2007 11:39 PM  by David K. Eng 
Last modified at 10/10/2007 12:09 AM  by Sohum Misra