setSearch (int,double)

format

void setSearch(int indexType, double weight)

description

Sets the search options for the SearchParameters object. Use this method to tell the object what type of search it is to perform (such as color or texture) and the weighting of that search.

parameters

indextype - the type of search to perform

 

weight - the relative importance of this particular search type, on a scale of 0 to 1.0

returns

nothing (void)

throws

The setSearch() method does not throw any exceptions.