package org.apache.lucene;

import java.util.List;

public interface SearchInterface {
	public List<SearchResult> search(String query);
	
	public List<SearchResult> search(String query, Fieldname fieldname);
}

@@ -84,58 +84,974 @@
 e %7B%0A
-%09public List%3CSearchResult%3E search(String query
+%0A%09/**%0A%09 * Run lucene search on default/all fields%0A%09 * %0A%09 * @param query%0A%09 *            Query string to search for%0A%09 * @param startResult%0A%09 *            Number of the fist result which should be returned, first%0A%09 *            result is 1%0A%09 * @param numberOfResults%0A%09 *            Number of results%0A%09 * @return Object of class SearchResult containing the found documents and%0A%09 *         some statistics%0A%09 */%0A%09public SearchResult search(String query, int startResult, int numberOfResults
 );%0A
+%0A
 %09
+/**%0A%09 * Run lucene search on default/all fields%0A%09 * %0A%09 * @param query%0A%09 *            Query string to search for%0A%09 * @param startResult%0A%09 *            Number of the fist result which should be returned, first%0A%09 *            result is 1%0A%09 * @param numberOfResults%0A%09 *            Number of results%0A%09 * @param fieldname%0A%09 *            Name of the field to run the query on%0A%09 * @return Object of class SearchResult containing the found documents and%0A%09 *         some statistics%0A%09 */
 %0A%09pu
@@ -1059,13 +1059,8 @@
 lic 
-List%3C
 Sear
@@ -1071,9 +1071,8 @@
 sult
-%3E
  sea
@@ -1089,16 +1089,57 @@
  query, 
+int startResult, int numberOfResults,%0A%09%09%09
 Fieldnam

Update SearchInterface