|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IndexSearch
Interface for Index Searching Wrapper Classes
| Method Summary | |
|---|---|
void |
closeIndex()
Closes the previously opened index |
URI |
executeCqlQuery(ArrayList<String> presentable,
ArrayList<String> searchable,
String queryString,
boolean isComplete,
RRadaptor adaptor)
Fills the RSClient with results from executing the queryString on an index (Lucene only). |
URI |
executeQuery(String queryString,
boolean isComplete)
Fills the RSClient with results from executing the queryString on an index (Lucene only). |
void |
openIndex(String indexDir,
String indexName)
Opens the index for search operations |
void |
setIndexType(FullTextIndexType idxType)
Updates the IndexSearch' state object |
void |
updateIndex()
Updates the index. |
| Method Detail |
|---|
void openIndex(String indexDir,
String indexName)
throws IndexException
indexDir - the base directory where indices are storedindexName - name of the index
IndexException - -
an error opening the index
void updateIndex()
throws IndexException
IndexException - -
an error updating the index
void closeIndex()
throws IndexException
IndexException - -
an error closing the index
void setIndexType(FullTextIndexType idxType)
throws IndexException
IndexException - -
an error setting the IndexType
URI executeQuery(String queryString,
boolean isComplete)
throws IndexException
Setting client to null will print results to system.out.
queryString - executed query stringisComplete - indicates if the results must contain the full payload
IndexException - -
an error executing the query
URI executeCqlQuery(ArrayList<String> presentable,
ArrayList<String> searchable,
String queryString,
boolean isComplete,
RRadaptor adaptor)
throws Exception
Setting client to null will print results to system.out.
presentable - the field Names of the fields that are presentable in this indexsearchable - the field Names of the fields that are searchable in this indexqueryString - executed query stringisComplete - indicates if the results must contain the full payload
IndexException - -
an error executing the query
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||