bmschmidt / pubmed-explorer

Scrollership through 20m pubmed abstracts.
Other
25 stars 2 forks source link

Restore search #18

Closed bmschmidt closed 1 year ago

bmschmidt commented 1 year ago

I'm most of the way to turning search back on with the new tile structure.

Might be a possibility of executing search against the abstracts and authors, too--we'll see what the speed is like.

bmschmidt commented 1 year ago

OK, I've opted for a strategy that runs directly in the browser, no server, so is crazy fast but limited. Still a few bugs to work out, but I think it's pretty fun this way. Could still add abstracts in at some point.

dkobak commented 1 year ago

Just to clarify: this is currently searching only among the points that are loaded into the browser, right? I think it's fine that way, just clarifying.

bmschmidt commented 1 year ago

Yes. (Technically, it's applied only to points that are visible--if you zoom in to load points and then zoom back out, the search won't show points you zoomed in on.)

As more points are loaded when you zoom in, the search is subsequently applied to them, whether or not the points were loaded when you originally ran the search.