Package | Description |
---|---|
org.apache.solr |
Commonly reused classes and interfaces (deprecated package, do not add new classes)
|
org.apache.solr.client.solrj |
Primary APIs for communicating with a Solr Server from a Java client.
|
org.apache.solr.client.solrj.beans |
Annotation based mapping of client objects to Solr documents.
|
org.apache.solr.client.solrj.impl |
Concrete implementations of client API classes.
|
org.apache.solr.client.solrj.util |
Utilities for Solr client applications.
|
org.apache.solr.common |
Common classes reused on both clients & server for dealing with
documents to be indexed and result documents . |
org.apache.solr.common.util |
Common utility classes reused on both clients & server.
|
org.apache.solr.handler.component |
SearchComponent implementations for
use in SearchHandler |
org.apache.solr.logging |
APIs related to capturing log event info in the
LoggingHandler |
org.apache.solr.logging.jul |
JUL based implementation of
LogWatcher |
org.apache.solr.logging.log4j |
Log4j based implementation of
LogWatcher |
org.apache.solr.response |
API and implementations of
QueryResponseWriter for formating Solr request responses |
org.apache.solr.response.transform |
APIs and implementations of
DocTransformer for modifying documents in Solr request responses |
org.apache.solr.search.grouping.endresulttransformer |
APIs and classes for transforming result grouping results into the appropriate response format
|
org.apache.solr.util |
Common utility classes used throughout Solr
|
Modifier and Type | Method and Description |
---|---|
static String |
BaseDistributedSearchTestCase.compare(SolrDocument a,
SolrDocument b,
int flags,
Map<String,Integer> handle) |
Modifier and Type | Method and Description |
---|---|
SolrDocument |
SolrClient.getById(String id)
Retrieves the SolrDocument associated with the given identifier.
|
SolrDocument |
SolrClient.getById(String id,
SolrParams params)
Retrieves the SolrDocument associated with the given identifier and uses
the SolrParams to execute the request.
|
SolrDocument |
SolrClient.getById(String collection,
String id)
Retrieves the SolrDocument associated with the given identifier.
|
SolrDocument |
SolrClient.getById(String collection,
String id,
SolrParams params)
Retrieves the SolrDocument associated with the given identifier and uses
the SolrParams to execute the request.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
StreamingResponseCallback.streamSolrDocument(SolrDocument doc) |
Modifier and Type | Method and Description |
---|---|
<T> T |
DocumentObjectBinder.getBean(Class<T> clazz,
SolrDocument solrDoc) |
Modifier and Type | Method and Description |
---|---|
protected SolrDocument |
XMLResponseParser.readDocument(XMLStreamReader parser) |
Modifier and Type | Method and Description |
---|---|
static SolrDocument |
ClientUtils.toSolrDocument(SolrInputDocument d) |
Modifier and Type | Method and Description |
---|---|
static SolrInputDocument |
ClientUtils.toSolrInputDocument(SolrDocument d) |
Modifier and Type | Method and Description |
---|---|
List<SolrDocument> |
SolrDocument.getChildDocuments()
Returns the list of child documents, or null if none.
|
Modifier and Type | Method and Description |
---|---|
void |
SolrDocument.addChildDocument(SolrDocument child) |
Modifier and Type | Method and Description |
---|---|
void |
SolrDocument.addChildDocuments(Collection<SolrDocument> childs) |
Modifier and Type | Method and Description |
---|---|
SolrDocument |
JavaBinCodec.readSolrDocument(DataInputInputStream dis) |
Modifier and Type | Method and Description |
---|---|
void |
JavaBinCodec.writeSolrDocument(SolrDocument doc) |
Modifier and Type | Field and Description |
---|---|
Map<Object,SolrDocument> |
ResponseBuilder.retrievedDocuments |
Modifier and Type | Method and Description |
---|---|
abstract SolrDocument |
LogWatcher.toSolrDocument(E event) |
Modifier and Type | Method and Description |
---|---|
SolrDocument |
JulWatcher.toSolrDocument(LogRecord event) |
Modifier and Type | Method and Description |
---|---|
SolrDocument |
Log4jWatcher.toSolrDocument(org.apache.log4j.spi.LoggingEvent event) |
Modifier and Type | Method and Description |
---|---|
static SolrDocument |
DocsStreamer.getDoc(org.apache.lucene.document.Document doc,
IndexSchema schema) |
SolrDocument |
DocsStreamer.next() |
Modifier and Type | Method and Description |
---|---|
void |
SchemaXmlWriter.writeSolrDocument(String name,
SolrDocument doc,
ReturnFields returnFields,
int idx) |
void |
XMLWriter.writeSolrDocument(String name,
SolrDocument doc,
ReturnFields returnFields,
int idx)
The SolrDocument should already have multivalued fields implemented as
Collections -- this will not rewrite to <arr>
|
abstract void |
TextResponseWriter.writeSolrDocument(String name,
SolrDocument doc,
ReturnFields returnFields,
int idx) |
Modifier and Type | Method and Description |
---|---|
protected String |
BaseEditorialTransformer.getKey(SolrDocument doc) |
protected void |
ValueSourceAugmenter.setValue(SolrDocument doc,
Object val) |
void |
ScoreAugmenter.transform(SolrDocument doc,
int docid) |
void |
BaseEditorialTransformer.transform(SolrDocument doc,
int docid) |
void |
DocTransformers.transform(SolrDocument doc,
int docid) |
void |
RenameFieldTransformer.transform(SolrDocument doc,
int docid) |
void |
ValueSourceAugmenter.transform(SolrDocument doc,
int docid) |
abstract void |
DocTransformer.transform(SolrDocument doc,
int docid)
This is where implementations do the actual work
|
Modifier and Type | Method and Description |
---|---|
SolrDocument |
EndResultTransformer.SolrDocumentSource.retrieve(org.apache.lucene.search.ScoreDoc doc) |
Modifier and Type | Method and Description |
---|---|
static SolrDocumentList |
SolrPluginUtils.docListToSolrDocumentList(DocList docs,
SolrIndexSearcher searcher,
Set<String> fields,
Map<SolrDocument,Integer> ids)
Convert a DocList to a SolrDocumentList
The optional param "ids" is populated with the lucene document id
for each SolrDocument.
|
Copyright © 2000–2015 The Apache Software Foundation. All rights reserved.