azerbini / eamena_v3

The EAMENA project maps cultural heritage across the Middle East and North Africa
http://eamena.arch.ox.ac.uk
0 stars 1 forks source link

Fix large bottleneck in search #67

Closed ahaith closed 6 years ago

ahaith commented 6 years ago

Look up related resource ids only when searching on related resources. Removes a big bottleneck with large result sets.

azerbini commented 6 years ago

Doesn't this stop you from seeing the Rel Resources graph though? @ahaith ?

screen shot 2017-11-13 at 15 31 53

ahaith commented 6 years ago

That should continue to function as before (but I will double-check). This was a problem introduced when we implemented the search related resources functionality. Performance is pretty much back to what it was before :) There will be some slow situations now if searching amongst related resources of a large dataset, but that should hopefully be a relatively rare occurrence.

azerbini commented 6 years ago

Brilliant I will test soon