#include <WsMnoGoSearch.h>
Definition at line 32 of file WsMnoGoSearch.h.
WsMnoGoSearch::WsMnoGoSearch |
( |
| ) |
|
Constructor for the Search object.
- Parameters
-
fst | the file system tree in memory |
query | the search query to perform |
Definition at line 19 of file WsMnoGoSearch.cpp.
WsMnoGoSearch::~WsMnoGoSearch |
( |
| ) |
|
|
virtual |
virtual vector<WsResultItem> WsAbstractSearch::getResults |
( |
const std::set< std::string > & |
groups | ) |
|
|
pure virtualinherited |
return the results found for the query filtered for the user
- Parameters
-
groups | the groups which the user belongs to |
- Returns
- a vector<WsResultItem> containing the results. An empty vector is returned if no results found or if the user don't have access to any found result
vector< WsResultItem > WsMnoGoSearch::getResults |
( |
const set< string > & |
groups | ) |
|
Get list of documents readable by person member of all groups passed in parameter.
- Parameters
-
- Returns
- an instance of list<ResultItem>
Definition at line 124 of file WsMnoGoSearch.cpp.
int WsMnoGoSearch::getSize |
( |
| ) |
|
|
virtual |
Loads all search results.
- Returns
- the total number (unfiltered by access right) of document corresponding to the search query
Implements WsAbstractSearch.
Definition at line 119 of file WsMnoGoSearch.cpp.
load the results (execute the search query)
- Returns
- SUCCESS if ok, failure otherwise
Loads all search results.
- Parameters
-
- Returns
- the number of items found, -1 in case of error
Definition at line 89 of file WsMnoGoSearch.cpp.
UDM_AGENT WsMnoGoSearch::m_agent |
|
private |
UDM_ENV WsMnoGoSearch::m_env |
|
private |
void* WsMnoGoSearch::m_hndlMno |
|
private |
UDM_RESULT* WsMnoGoSearch::m_res |
|
private |
int WsMnoGoSearch::m_size |
|
private |
char WsMnoGoSearch::m_udmQuery[256] |
|
private |
string WsMnoGoSearch::m_user |
|
private |
The documentation for this class was generated from the following files:
- /Users/benoitdaccache/Documents/Dropbox/Programming/Ws/wscore/src/WsSearchModules/MnoGoSearch/src/WsMnoGoSearch.h
- /Users/benoitdaccache/Documents/Dropbox/Programming/Ws/wscore/src/WsSearchModules/MnoGoSearch/src/WsMnoGoSearch.cpp