2d5c21f0d3a8b67dd86f1f9f999f2aa384f67275 hiram Sat Feb 3 13:17:19 2024 -0800 beginning to run FULLTEXT search on asmSummary table refs #23589 diff --git src/hg/inc/asmSummary.h src/hg/inc/asmSummary.h index c1f7d32..05e9019 100644 --- src/hg/inc/asmSummary.h +++ src/hg/inc/asmSummary.h @@ -101,17 +101,24 @@ void asmSummaryOutput(struct asmSummary *el, FILE *f, char sep, char lastSep); /* Print out asmSummary. Separate fields with sep. Follow last field with lastSep. */ #define asmSummaryTabOut(el,f) asmSummaryOutput(el,f,'\t','\n'); /* Print out asmSummary as a line in a tab-separated file. */ #define asmSummaryCommaOut(el,f) asmSummaryOutput(el,f,',',','); /* Print out asmSummary as a comma separated list including final comma. */ void asmSummaryJsonOutput(struct asmSummary *el, FILE *f); /* Print out asmSummary in JSON format. */ /* -------------------------------- End autoSql Generated Code -------------------------------- */ +struct asmSummary *asmSummaryFullText(struct sqlConnection *conn, char *words, long long rowLimit, long long *totalMatch); +/* perform a FULLTEXT search on the asmSummary table with the list + * of words string (may be only a single word) + * return is a list of items found up to rowLimit, or NULL if none found + * also returning totalMatch to understand if it is more than the rowLimit + */ + #endif /* ASMSUMMARY_H */