开发者

Solr Search not showing results

开发者 https://www.devze.com 2023-01-25 00:53 出处:网络
I am new to Solr, doing a prototype. I indexed 5 documents and c开发者_如何学编程ommitted. Now, if I go to http://localhost:8983/solr/admin/ , I see that 5 documents are indexed. If I search for any o

I am new to Solr, doing a prototype. I indexed 5 documents and c开发者_如何学编程ommitted. Now, if I go to http://localhost:8983/solr/admin/ , I see that 5 documents are indexed. If I search for any of the terms in the documents, I don't see any results. But, if I do :, I do see all the 5 records.

What am I doing wrong. Any ideas? Please help. Thanks.


Probable Problems:

  1. Solr has a cache of the query. Hold shift when hitting the refresh button.
  2. The field you are querying on is not indexed. Change the configuration of your schema file.
  3. You may need to specify a field to query. Use the "field:query" syntax.
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号