gov.nasa.pds.dsview.registry
Class PDS4Search

java.lang.Object
  extended by gov.nasa.pds.dsview.registry.PDS4Search

public class PDS4Search
extends Object

This class is used by the PDS data set view web interface to retrieve values for building the search parameter pull-down lists.

Author:
Hyun Lee

Constructor Summary
PDS4Search(String url)
          Constructor.
 
Method Summary
 org.apache.solr.common.SolrDocumentList getBundles()
           
 org.apache.solr.common.SolrDocumentList getCollections()
           
 org.apache.solr.common.SolrDocument getContext(String identifier)
           
 org.apache.solr.common.SolrDocumentList getObservationals(int start)
           
 List<String> getValues(org.apache.solr.common.SolrDocument doc, String key)
           
static void main(String[] argv)
          Command line invocation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PDS4Search

public PDS4Search(String url)
Constructor.

Method Detail

getCollections

public org.apache.solr.common.SolrDocumentList getCollections()
                                                       throws MalformedURLException,
                                                              org.apache.solr.client.solrj.SolrServerException
Throws:
MalformedURLException
org.apache.solr.client.solrj.SolrServerException

getBundles

public org.apache.solr.common.SolrDocumentList getBundles()
                                                   throws MalformedURLException,
                                                          org.apache.solr.client.solrj.SolrServerException
Throws:
MalformedURLException
org.apache.solr.client.solrj.SolrServerException

getObservationals

public org.apache.solr.common.SolrDocumentList getObservationals(int start)
                                                          throws MalformedURLException,
                                                                 org.apache.solr.client.solrj.SolrServerException
Throws:
MalformedURLException
org.apache.solr.client.solrj.SolrServerException

getContext

public org.apache.solr.common.SolrDocument getContext(String identifier)
                                               throws MalformedURLException,
                                                      org.apache.solr.client.solrj.SolrServerException
Throws:
MalformedURLException
org.apache.solr.client.solrj.SolrServerException

getValues

public List<String> getValues(org.apache.solr.common.SolrDocument doc,
                              String key)

main

public static void main(String[] argv)
Command line invocation.

Parameters:
argv - Command-line arguments.


Copyright © 2010–2014 Planetary Data System. All rights reserved.