Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can not search the layer #147

Open
lannio opened this issue Dec 18, 2017 · 5 comments
Open

can not search the layer #147

lannio opened this issue Dec 18, 2017 · 5 comments

Comments

@lannio
Copy link

lannio commented Dec 18, 2017

There are some layers in hhypermap, but I can not search them in worldmap.
(worldmap:172.20.10.12,hhypermap:172.20.10.14)
image
image
image

@capooti
Copy link
Contributor

capooti commented Dec 18, 2017

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.

@lannio
Copy link
Author

lannio commented Dec 21, 2017

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).
image
image
image
image

@capooti
Copy link
Contributor

capooti commented Dec 21, 2017

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.

@lannio
Copy link
Author

lannio commented Dec 22, 2017

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.
image

@capooti
Copy link
Contributor

capooti commented Dec 22, 2017

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants