Hi guys,<br><br>I am trying to create my own gazetteer service (using the new code from Brian) that will be loaded with data from Romania only (at least for now) and I am seeing some errors while following the steps in the README file:<br>
<br>1. when I first try to execute commands from gazetteer-functions.sql I get something like:<br><br>$ cat gazetteer-functions.sql | psql gazetteer<br>....<br>ERROR: type wordscore[] does not exist<br>...<br>CREATE FUNCTION<br>
ERROR: type "place_boundingbox" does not exist<br>ERROR: type "place_boundingbox" does not exist<br>ERROR: type "place_boundingbox" does not exist<br>CONTEXT: compile of PL/pgSQL function "update_place" near line 2<br>
CREATE FUNCTION<br>...<br>which I believe is expected at some point because the next command will create the place_boundingbox table.<br><br>2. When trying to execute gazetteer-tables.sql I get some errors also, but the one that I don't understand is:<br>
...<br>CREATE INDEX<br>CREATE INDEX<br>ERROR: operator class "gin_trgm_ops" does not exist for access method "gin"<br>GRANT<br>...<br>Is this a show stopper?<br><br>3. When I execute gazetteer-functions.sql the second time I only get one error:<br>
...<br>CREATE FUNCTION<br>ERROR: type wordscore[] does not exist<br>CREATE FUNCTION<br>...<br>I am missing something here, is this type defined anywhere else?<br><br>With all these error I am able to connect to the web interface (installed locally of course), but I don't see any result, no matter what search terms I try. Is there a way to get into a 'debug' mode, to see exactly what is wrong?<br>
<br>Thanks,<br>Ciprian<br>