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:
- Solr has a cache of the query. Hold shift when hitting the refresh button.
- The field you are querying on is not indexed. Change the configuration of your schema file.
- You may need to specify a field to query. Use the "field:query" syntax.
精彩评论