开发者

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

开发者 https://www.devze.com 2023-02-05 22:49 出处:网络
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 inde

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.

0

精彩评论

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

关注公众号