How can I see all the data that solr is indexing?
So I have a solr serve开发者_开发知识库r running as part of a chef server. Some of my nodes just aren't coming up in searches. I can use ?q=*:*
to show the documents but most of the chef data is indexed as dynamicFields, so I don't see it in the xml documents.
I'm hoping that if I can find a way to see either:
- what's coming into solr as it's indexed or
- the full set of indexed documents with their dynamic fields
Thanks in advance!
Luke may help: https://github.com/DmitryKey/luke. You can point it at the Solr index and see what's in there.
Last time I checked, you could run it right from the web and just point it at the index.
As rfeak said, you can use Luke to inspect your index. Solr comes with a built-in Luke handler.
In my case it was because my dynamicFields were set store=false. Setting them to true got me what I was looking for which made the search issue a lot more clear.
精彩评论