简体   繁体   中英

Solr unable to search on fields?

I have installed Solr as a docker image and can create cores and upload some test JSON.

I then want to search on this, but I can't, in this case I want to find the id where it matches. I enter the q filter text and then hit execute but it still lists all the json results? what am I missing?

在此处输入图像描述

I can query it in a url as follows though?? so seems like the front end is messed up somehow?

在此处输入图像描述

I believe the issue was in my docker-compose.yml file, I had these extra lines which seem to cause this issue, redoing the instance without this, I can happily query the data.

command:
  - solr-precreate
  - gettingstarted

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM