org.apache.lucene.gdata.search
Interface GDataSearcher<T>

Type Parameters:
T -
All Known Implementing Classes:
StandardGdataSearcher

public interface GDataSearcher<T>

Author:
Simon Willnauer

Method Summary
 void close()
          Destroys this Searcher
 List<T> search(Query query, int hitcount, int offset, String feedId)
          executes an Query and returns a list of defined return values of type T
 

Method Detail

search

List<T> search(Query query,
               int hitcount,
               int offset,
               String feedId)
               throws IOException
executes an Query and returns a list of defined return values of type T

Parameters:
query - - the query to apply to the searcher
hitcount - - the amount of hits returned by this search
offset - - the hit count offset
feedId -
Returns:
List of T
Throws:
IOException - - if the underlying lucene searcher throws an IO Exception

close

void close()
Destroys this Searcher



Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.