be00edb2a6ef8c715b715cf0261572feead28c21 hiram Sat Feb 3 13:11:41 2024 -0800 beginning to run FULLTEXT search on asmSummary table refs #23589 diff --git src/hg/hubApi/dataApi.h src/hg/hubApi/dataApi.h index 2a3e845..912b08b 100644 --- src/hg/hubApi/dataApi.h +++ src/hg/hubApi/dataApi.h @@ -64,44 +64,46 @@ #define err500Msg "Internal Server Error" /* list of all potential arguments */ #define argHubUrl "hubUrl" #define argGenome "genome" #define argTrackLeavesOnly "trackLeavesOnly" #define argTrack "track" #define argChrom "chrom" #define argStart "start" #define argEnd "end" #define argMaxItemsOutput "maxItemsOutput" #define argFormat "format" #define argJsonOutputArrays "jsonOutputArrays" #define argCategories "categories" #define argSearchTerm "search" +#define argGenomeSearchTerm "genomeSearch" /* valid argument listings to verify extraneous arguments * initialized in hubApi.c */ extern char *argListPublicHubs[]; extern char *argListUcscGenomes[]; extern char *argListHubGenomes[]; extern char *argListTracks[]; extern char *argListChromosomes[]; extern char *argListSchema[]; extern char *argListFiles[]; extern char *argGetDataTrack[]; extern char *argGetDataSequence[]; extern char *argSearch[]; +extern char *argFindGenome[]; /* maximum number of words expected in PATH_INFO parsing * so far only using 2 */ #define MAX_PATH_INFO 32 /* maximum amount of DNA allowed in a get sequence request */ #define MAX_DNA_LENGTH 499999999 /* this size is directly related to the max limit in needMem used in * jsonWriteString */ extern long enteredMainTime; /* will become = clock1000() on entry */ /* limit amount of output to a maximum to avoid overload */ @@ -264,16 +266,22 @@ void apiGetData(char *words[MAX_PATH_INFO]); /* 'getData' function, words[1] is the subCommand */ /* ######################################################################### */ /* functions in list.c */ void apiList(char *words[MAX_PATH_INFO]); /* 'list' function words[1] is the subCommand */ /* ######################################################################### */ /* functions in search.c */ void apiSearch(char *words[MAX_PATH_INFO]); /* search function */ +/* ######################################################################### */ +/* functions in findGenome.c */ + +void apiFindGenome(char *words[MAX_PATH_INFO]); +/* 'findGenome' function */ + #endif /* DATAAPH_H */