Open lannio opened 6 years ago
I see Solr is running but nothing was added to its database. This could be caused by Celery/RabbitMQ not properly configured. You need to configure them properly, otherwise tasks which synchronize PostgreSQL to Solr will not run and your search database will be empty. You can use Hypermap without the task queue (but this is not recommended for production), by setting the REGISTRY_SKIP_CELERY to True and restart Django.
Thank you for your reply. Now I've added some online layers to HHyperMap and can see them in worldmap. But I found that I can search through the source, but I can't search through the title(keyworld).
Can you try to see what happens if you run this query in Solr:
http://youserver/solr/hypermap/select?indent=on&q=title:sea&wt=json
It should return all the documents which contains "sea" in the title field.
This is the result in http://172.20.10.14:8983/solr/hypermap/select?indent=on&q=title:sea&wt=json , but it is empty in the searth table.
This is weird. It would be useful to debug the request being sent to Solr using Firefox or Chrome developer toolbar. Can you do it?
There are some layers in hhypermap, but I can not search them in worldmap. (worldmap:172.20.10.12,hhypermap:172.20.10.14)