org.apache.solr.rest
Class SolrRestApi

java.lang.Object
  extended by org.restlet.Restlet
      extended by org.restlet.Application
          extended by org.apache.solr.rest.SolrRestApi
All Implemented Interfaces:
org.restlet.Uniform

public class SolrRestApi
extends org.restlet.Application


Field Summary
static String COPY_FIELDS
           
static String COPY_FIELDS_PATH
           
static String DEFAULT_OPERATOR
           
static String DEFAULT_OPERATOR_PATH
           
static String DEFAULT_SEARCH_FIELD
           
static String DEFAULT_SEARCH_FIELD_PATH
           
static String DYNAMIC_FIELDS
           
static String DYNAMIC_FIELDS_PATH
           
static String FIELDS_PATH
           
static String FIELDTYPES
           
static String FIELDTYPES_PATH
           
static org.slf4j.Logger log
           
static String NAME_PATH
           
static String NAME_SEGMENT
           
static String SIMILARITY_PATH
           
static String SOLR_QUERY_PARSER
           
static String SOLR_QUERY_PARSER_PATH
           
static String UNIQUE_KEY_FIELD
           
static String UNIQUE_KEY_FIELD_PATH
           
static String VERSION_PATH
           
 
Constructor Summary
SolrRestApi()
           
 
Method Summary
 org.restlet.Restlet createInboundRoot()
          Bind URL paths to the appropriate ServerResource subclass.
 void stop()
           
 
Methods inherited from class org.restlet.Application
createOutboundRoot, getConnectorService, getConnegService, getConverterService, getCurrent, getDecoderService, getEncoderService, getInboundRoot, getMetadataService, getOutboundRoot, getRangeService, getRole, getRoles, getServices, getStatusService, getTaskService, getTunnelService, handle, setClientRoot, setConnectorService, setConnegService, setContext, setConverterService, setCurrent, setDecoderService, setEncoderService, setInboundRoot, setInboundRoot, setMetadataService, setOutboundRoot, setOutboundRoot, setRangeService, setRoles, setStatusService, setTaskService, setTunnelService, start
 
Methods inherited from class org.restlet.Restlet
createFinder, finalize, getApplication, getAuthor, getContext, getDescription, getFinderClass, getLogger, getName, getOwner, handle, handle, handle, isStarted, isStopped, setAuthor, setDescription, setFinderClass, setName, setOwner
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

public static final org.slf4j.Logger log

FIELDS_PATH

public static final String FIELDS_PATH
See Also:
Constant Field Values

DYNAMIC_FIELDS

public static final String DYNAMIC_FIELDS

DYNAMIC_FIELDS_PATH

public static final String DYNAMIC_FIELDS_PATH

FIELDTYPES

public static final String FIELDTYPES

FIELDTYPES_PATH

public static final String FIELDTYPES_PATH

NAME_PATH

public static final String NAME_PATH

NAME_SEGMENT

public static final String NAME_SEGMENT

COPY_FIELDS

public static final String COPY_FIELDS

COPY_FIELDS_PATH

public static final String COPY_FIELDS_PATH

VERSION_PATH

public static final String VERSION_PATH

DEFAULT_SEARCH_FIELD

public static final String DEFAULT_SEARCH_FIELD

DEFAULT_SEARCH_FIELD_PATH

public static final String DEFAULT_SEARCH_FIELD_PATH

SIMILARITY_PATH

public static final String SIMILARITY_PATH

SOLR_QUERY_PARSER

public static final String SOLR_QUERY_PARSER

SOLR_QUERY_PARSER_PATH

public static final String SOLR_QUERY_PARSER_PATH

DEFAULT_OPERATOR

public static final String DEFAULT_OPERATOR

DEFAULT_OPERATOR_PATH

public static final String DEFAULT_OPERATOR_PATH

UNIQUE_KEY_FIELD

public static final String UNIQUE_KEY_FIELD

UNIQUE_KEY_FIELD_PATH

public static final String UNIQUE_KEY_FIELD_PATH
Constructor Detail

SolrRestApi

public SolrRestApi()
Method Detail

stop

public void stop()
          throws Exception
Overrides:
stop in class org.restlet.Application
Throws:
Exception

createInboundRoot

public org.restlet.Restlet createInboundRoot()
Bind URL paths to the appropriate ServerResource subclass.

Overrides:
createInboundRoot in class org.restlet.Application


Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.