NYULibraries / spatial_data_repository

NYU's GeoBlacklight instance @ geo.nyu.edu
https://geo.nyu.edu
6 stars 2 forks source link

Dev Environment: Search Autocomplete is not working #356

Open spilth opened 1 month ago

spilth commented 1 month ago

While investigating an extraneous suggest route I determined that GBL comes with a Search Autocomplete feature that doesn't seem to be working for SDR.

I also suspect the suggest route is a pre-GBL 4 route for this.

spilth commented 1 month ago

This seems to only be happening in local development. I tried on two different Macs and they both have this issue.

Solr Logging shows the following:

SuggestComponent
Exception in building suggester index for mySuggester:
java.security.AccessControlException: access denied ("java.io.FilePermission" "/private/var/folders/dc/2ml72_bd2ms51kwbbch9bwkr0000gp/T/suggester_input_3.tmp" "write")
    at java.base/java.security.AccessControlContext.checkPermission(AccessControlContext.java:485)
spilth commented 1 month ago

This appears to be either a Solr 9.2+ issue or a solr_wrapper issue. Waiting to see if this is sorted out in the GeoBlacklight Slack.