yjunechoe / Snowglobe

Snowglobe
http://snowglobe.soc.northwestern.edu/
2 stars 0 forks source link

title makes db time out #34

Closed mcweenysean closed 2 years ago

mcweenysean commented 2 years ago

I was looking for an example title that breaks the query and I found one.

"Place Cells, Grid Cells, and the Brain's Spatial Representation System"

title.query.clean() separated out the apostrophe s in "brain's" and searched "+s" so basically any word that started with an s was searched, and the database took ~42 minutes to have freeable memory again. I guess it could technically be searching "+cells" twice but I think that's less likely.

It's an easy fix that I'll knock out tonight, but just to give you a sense of what kinds of things break the db