af3a143571e5aa064eab75c34f9444b35413b562 chmalee Tue Nov 30 15:28:15 2021 -0800 Add snippet support to trix searching. Required changing the wordPos from the first highest matching wordIndex to the wordIndex of the actual span. Have trixContextIndex create a second level index for fast retrieval of line offsets in original text file used by ixIxx. Create a simple UI for navigating hgFind search results. diff --git src/hg/inc/bigBedFind.h src/hg/inc/bigBedFind.h index d1d4d60..4232b76 100644 --- src/hg/inc/bigBedFind.h +++ src/hg/inc/bigBedFind.h @@ -1,10 +1,16 @@ /* bigBedFind.h - Find things in big beds . */ /* Copyright (C) 2010 The Regents of the University of California * See kent/LICENSE or http://genome.ucsc.edu/license/ for licensing information. */ #ifndef BIGBEDFIND_H #define BIGBEDFIND_H -boolean findBigBedPosInTdbList(struct cart *cart, char *db, struct trackDb *tdbList, char *term, struct hgPositions *hgp, struct hgFindSpec *hfs); +boolean findBigBedPosInTdbList(struct cart *cart, char *db, struct trackDb *tdbList, char *term, struct hgPositions *hgp, struct hgFindSpec *hfs, boolean measureTiming); /* find a term in a list of tracks which may include a bigBed */ + +struct trackDb *getSearchableBigBeds(struct trackDb *tdbList); +/* Given a list of tracks, return those that are searchable */ + +boolean isTdbSearchable(struct trackDb *tdb); +/* Check if a single tdb is searchable */ #endif /* BIGBEDFIND_H */