Mat Schaffer Mat Schaffer - 1 month ago 6
Java Question

How can I see all the data that solr is indexing?

So I have a solr server 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!

Answer

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.