Re: how to get list of unique terms for a field

2009-12-04 Thread Bill Dueber
Here's a pretty simple perl script. Call it as "scriptname facetindex" (or "scriptname facetindex maxnum") # #!/usr/local/bin/perl use strict; use JSON::XS; use LWP::Simple; ### CHANGE THIS TO YOUR URL!! ### my $select = 'http://solr-vufind:8026/solr/biblio/select'; # Get facet an

Re: how to get list of unique terms for a field

2009-12-04 Thread Erik Hatcher
On Dec 4, 2009, at 8:59 AM, Joel Nylund wrote: lets say I have a field called countryName, is there a way to get a list of all the countries for this field? Trying to figure out a nice way to keep my categories and the solr results in sync, would be nice to get these from solr instead of th