Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
UnicastRemoteObject
org.apache.lucene.search.RemoteSearchable
Constructor Summary | |
|
Method Summary | |
void |
|
Document |
|
int | |
int[] | |
Explanation | |
static void |
|
int |
|
Query | |
TopDocs | |
TopFieldDocs | |
void |
|
public RemoteSearchable(Searchable local) throws RemoteException
Constructs and exports a remote searcher.
public int[] docFreqs(Term[] terms) throws IOException
- Specified by:
- docFreqs in interface Searchable
public Explanation explain(Weight weight, int doc) throws IOException
- Specified by:
- explain in interface Searchable
public static void main(args[] ) throws Exception
Exports a searcher for the index in args[0] named "//localhost/Searchable".
public Query rewrite(Query original) throws IOException
- Specified by:
- rewrite in interface Searchable
public TopDocs search(Weight weight, Filter filter, int n) throws IOException
- Specified by:
- search in interface Searchable
public TopFieldDocs search(Weight weight, Filter filter, int n, Sort sort) throws IOException
- Specified by:
- search in interface Searchable
public void search(Weight weight, Filter filter, HitCollector results) throws IOException
- Specified by:
- search in interface Searchable