|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.lucene.gdata.search.StandardGdataSearcher
public class StandardGdataSearcher
Standard implementation of
GDataSearcher
| Constructor Summary | |
|---|---|
StandardGdataSearcher(ReferenceCounter<IndexSearcher> searcher)
constructs a new GdataSearcher |
|
| Method Summary | |
|---|---|
void |
close()
Destroys this Searcher |
protected List<String> |
collectHits(Hits hits,
int hitcount,
int offset)
|
List<String> |
search(Query query,
int hitcount,
int offset,
String feedId)
executes an Query and returns a list of defined return values of type T |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StandardGdataSearcher(ReferenceCounter<IndexSearcher> searcher)
searcher - - the current lucene searcher instance| Method Detail |
|---|
public List<String> search(Query query,
int hitcount,
int offset,
String feedId)
throws IOException
GDataSearcher
search in interface GDataSearcher<String>query - - the query to apply to the searcherhitcount - - the amount of hits returned by this searchoffset - - the hit count offset
IOException - - if the underlying lucene searcher throws an IO ExceptionGDataSearcher.search(org.apache.lucene.search.Query,
int, int, java.lang.String)
protected List<String> collectHits(Hits hits,
int hitcount,
int offset)
throws IOException
IOExceptionpublic void close()
GDataSearcher
close in interface GDataSearcher<String>GDataSearcher.close()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||