Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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!

like image 471
Mat Schaffer Avatar asked Jan 18 '11 21:01

Mat Schaffer


People also ask

How can I check Solr data?

You can search for "solr" by loading the Admin UI Query tab, enter "solr" in the q param (replacing *:* , which matches all documents), and "Execute Query". See the Searching section below for more information. To index your own data, re-run the directory indexing command pointed to your own directory of documents.

How do I know if Solr is indexing?

Before you start using the Emptoris® Contract Management application, verify that the Solr full indexing successfully completed. You can verify that full indexing is complete by checking the logs or by querying the database tables.

Where Solr indexes are stored?

Solr stores this index in a directory called index in the data directory.

How do I run Solr indexing?

Start the Server If you didn't start Solr after installing it, you can start it by running bin/solr from the Solr directory. If you are running Windows, you can start Solr by running bin\solr. cmd instead. This will start Solr in the background, listening on port 8983.


1 Answers

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.

like image 106
rfeak Avatar answered Oct 30 '22 03:10

rfeak