|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.gpt.control.search.browse.TocIndexAdapter
public class TocIndexAdapter
Provides utilities for querying a Lucene index during TOC construction.
Constructor Summary | |
---|---|
TocIndexAdapter()
Default constructor |
Method Summary | |
---|---|
void |
close()
Closes any open resources. |
IndexSearcher |
getSearcher(TocContext context)
Gets the index searcher. |
String[] |
queryFieldByUuid(TocContext context,
String fieldName,
String uuid)
Returns the field values associated with a document |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TocIndexAdapter()
Method Detail |
---|
public void close()
public IndexSearcher getSearcher(TocContext context) throws CorruptIndexException, IOException
context
- the operation context
CorruptIndexException
- if the index is corrupt
IOException
- if an I/O exception occurspublic String[] queryFieldByUuid(TocContext context, String fieldName, String uuid) throws CorruptIndexException, IOException
context
- the operation contextfieldName
- the field nameuuid
- the document uuid
CorruptIndexException
- if the index is corrupt
IOException
- if an I/O exception occurs
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |