openpolis / op_api

Api access to openpolis projects free data
1 stars 0 forks source link

generic search #3

Open guglielmo opened 13 years ago

guglielmo commented 13 years ago

A search engine that allows to search both for locations and politicians. Search results are grouped by type (politicians, locations).

For example: "rom" returns: Cities (12) Roma (Prov del Lazio) Roma (RM) Romanio (BR) Romanoro (MO) ... other 9 Politicians (123) Romano Prodi (Pres del Cons) Sergio Romano (Ministro Istruzione) Mario Romano (Sindaco ... other (120)

City results notes. Information showed:

Politician results notes. Information showed:

ex: Mario Rossi (sindaco di Milano) Enrico Verdi (consigliere della Provincia di Roma)

guglielmo commented 13 years ago

The request is received by the op_api server and turned to the solr search engine. The response, containing the results, is transmitted back to the client. This may help avoid dircet link to the 8080 port where solr runs, which is and should remain not reachable from the outside.