|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.gcube.indexmanagement.fulltextindexlookup.FullTextIndexLookupService
public class FullTextIndexLookupService
FullTextIndexLookupService implements functionality needed to query a FullText index. It also implements methods for retrieving global statistics for such an index. Each instance of the service will create a local copy of an index. Every FullTextIndexLookupService instance (reosurce) must be connected to exactly one FullTextIndexManagementService instance (resource), though many Lookup instances may be connected to the same Management instance.
| Constructor Summary | |
|---|---|
FullTextIndexLookupService()
Constructor - sets up some variables and creates a logging instance |
|
| Method Summary | |
|---|---|
java.lang.String |
createStatistics(CreateStatistics empty)
Creates per term statistics for the entire index. |
boolean |
expandIndex(int newPartitionStartPoint)
Expands the index with a new partition. |
java.lang.String |
getIndexTypeName(GetIndexTypeID empty)
Gets the IndexType name of a FullTextIndexManagement WS resource |
java.lang.String |
query(SearchQuery query)
Performs a query on the local index. |
SetIndexTypeIDResponse |
setIndexTypeName(java.lang.String indexTypeName)
Sets the IndexType of a FullTextIndexManagement WS resource |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FullTextIndexLookupService()
throws java.rmi.RemoteException
java.rmi.RemoteException| Method Detail |
|---|
public java.lang.String query(SearchQuery query)
throws java.rmi.RemoteException
queryString - String - the query to be performed (currently using lucene syntax)
String - representation of the EPR for a resultset service which holds the results of the query.
java.rmi.RemoteException
public java.lang.String createStatistics(CreateStatistics empty)
throws java.rmi.RemoteException
String - CMS ID of the created statistics zip file
java.rmi.RemoteException
public SetIndexTypeIDResponse setIndexTypeName(java.lang.String indexTypeName)
throws java.rmi.RemoteException
indexTypeName - String - the name of the new IndexType
SetIndexTypeResponse - empty instance
java.rmi.RemoteException
public java.lang.String getIndexTypeName(GetIndexTypeID empty)
throws java.rmi.RemoteException
empty - GetIndexType - empty instance
String - The name of the requested IndexType
java.rmi.RemoteException
public boolean expandIndex(int newPartitionStartPoint)
throws java.rmi.RemoteException
newPartitionStartPoint - int - the starting point of the new partition (delta file number/idx)
boolean - true if expansion was successful
java.rmi.RemoteException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||