Author: siren Date: Thu Jun 1 09:54:34 2006 New Revision: 410886 URL: http://svn.apache.org/viewvc?rev=410886&view=rev Log: initial import of spellcheck query proposer
Modified: lucene/nutch/trunk/contrib/web2/src/main/java/org/apache/nutch/webapp/common/SearchForm.java Modified: lucene/nutch/trunk/contrib/web2/src/main/java/org/apache/nutch/webapp/common/SearchForm.java URL: http://svn.apache.org/viewvc/lucene/nutch/trunk/contrib/web2/src/main/java/org/apache/nutch/webapp/common/SearchForm.java?rev=410886&r1=410885&r2=410886&view=diff ============================================================================== --- lucene/nutch/trunk/contrib/web2/src/main/java/org/apache/nutch/webapp/common/SearchForm.java (original) +++ lucene/nutch/trunk/contrib/web2/src/main/java/org/apache/nutch/webapp/common/SearchForm.java Thu Jun 1 09:54:34 2006 @@ -301,5 +301,13 @@ } return sb.toString(); } + + public Object clone(){ + SearchForm newForm=new SearchForm(new HashMap()); + newForm.active.addAll(active); + newForm.o_values.putAll(o_values); + newForm.n_values.putAll(n_values); + return newForm; + } } ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ Nutch-cvs mailing list Nutch-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nutch-cvs