NCBI C++ ToolKit
Public Types | Public Member Functions | List of all members
CHydraSearch Class Reference

Search Toolkit Book for CHydraSearch

#include <misc/hydra_client/hydra_client.hpp>

Public Types

enum class  ESearch {
  ePUBMED_TOP_20 , ePUBMED , eCITATION , ePMC ,
  ePMC_TOP_6
}
 
enum class  EScoreCutoff { eCutoff_Low , eCutoff_Medium , eCutoff_High , eCutoff_VeryHigh }
 

Public Member Functions

bool DoHydraSearch (const string &query, vector< int > &uids, ESearch search=ESearch::ePUBMED_TOP_20, EScoreCutoff cutoff=EScoreCutoff::eCutoff_Low)
 

Detailed Description

Definition at line 45 of file hydra_client.hpp.

Member Enumeration Documentation

◆ EScoreCutoff

Enumerator
eCutoff_Low 
eCutoff_Medium 
eCutoff_High 
eCutoff_VeryHigh 

Definition at line 62 of file hydra_client.hpp.

◆ ESearch

enum CHydraSearch::ESearch
strong
Enumerator
ePUBMED_TOP_20 
ePUBMED 
eCITATION 
ePMC 
ePMC_TOP_6 

Definition at line 50 of file hydra_client.hpp.

Member Function Documentation

◆ DoHydraSearch()

bool CHydraSearch::DoHydraSearch ( const string query,
vector< int > &  uids,
ESearch  search = ESearch::ePUBMED_TOP_20,
EScoreCutoff  cutoff = EScoreCutoff::eCutoff_Low 
)

Definition at line 201 of file hydra_client.cpp.

References query, and CHydraServer::RunHydraSearch().


The documentation for this class was generated from the following files:
Modified on Sun May 19 04:42:12 2024 by modify_doxy.py rev. 669887