public void setCDXSources ( List < String > cdxs ) { sources = new ArrayList < SearchResultSource > ( ) ; for ( int i = 0 ; i < cdxs . size ( ) ; i ++ ) { CDXIndex index = new CDXIndex ( ) ; index . setPath ( cdxs . get ( i ) ) ; addSource ( index ) ; } }
Sets the list of files searched for queries against this SearchResultSource to the list of paths cdxs