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.response |
Convenience classes for dealing with various types of Solr responses.
|
org.apache.solr.cloud |
Classes for dealing with ZooKeeper when operating in SolrCloud mode.
|
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.handler.dataimport |
DataImportHandler and related code. |
org.apache.solr.logging |
APIs related to capturing log event info in the
LoggingHandler |
org.apache.solr.response |
API and implementations of
QueryResponseWriter for formating Solr request responses |
org.apache.solr.util |
Common utility classes used throughout Solr
|
Modifier and Type | Method and Description |
---|---|
static void |
SolrTestCaseJ4.assertFieldValues(SolrDocumentList documents,
String fieldName,
Object... expectedValues)
Fails if the number of documents in the given SolrDocumentList differs
from the given number of expected values, or if any of the values in the
given field don't match the expected values in the same order.
|
static String |
BaseDistributedSearchTestCase.compare(SolrDocumentList a,
SolrDocumentList b,
int flags,
Map<String,Integer> handle) |
Modifier and Type | Method and Description |
---|---|
SolrDocumentList |
SolrClient.getById(Collection<String> ids)
Retrieves the SolrDocuments associated with the given identifiers.
|
SolrDocumentList |
SolrClient.getById(Collection<String> ids,
SolrParams params)
Retrieves the SolrDocuments associated with the given identifiers and uses
the SolrParams to execute the request.
|
SolrDocumentList |
SolrClient.getById(String collection,
Collection<String> ids)
Retrieves the SolrDocuments associated with the given identifiers.
|
SolrDocumentList |
SolrClient.getById(String collection,
Collection<String> ids,
SolrParams params)
Retrieves the SolrDocuments associated with the given identifiers and uses
the SolrParams to execute the request.
|
Modifier and Type | Method and Description |
---|---|
<T> List<T> |
DocumentObjectBinder.getBeans(Class<T> clazz,
SolrDocumentList solrDocList) |
Modifier and Type | Method and Description |
---|---|
protected SolrDocumentList |
XMLResponseParser.readDocuments(XMLStreamReader parser) |
Modifier and Type | Method and Description |
---|---|
SolrDocumentList |
Group.getResult()
Returns the documents to be displayed that belong to this group.
|
SolrDocumentList |
QueryResponse.getResults() |
Modifier and Type | Method and Description |
---|---|
Map<String,SolrDocumentList> |
QueryResponse.getExpandedResults() |
Constructor and Description |
---|
Group(String groupValue,
SolrDocumentList result)
Creates a Group instance.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
CloudInspectUtil.checkIfDiffIsLegal(SolrDocumentList a,
SolrDocumentList b,
String aName,
String bName,
Set<String> bAddFails,
Set<String> bDeleteFails)
When a and b are known to be different, this method tells if the difference
is legal given the adds and deletes that failed from b.
|
static Set<Map> |
CloudInspectUtil.showDiff(SolrDocumentList a,
SolrDocumentList b,
String aName,
String bName)
Shows the difference between two lists of documents.
|
Modifier and Type | Method and Description |
---|---|
SolrDocumentList |
JavaBinCodec.readSolrDocumentList(DataInputInputStream dis) |
Modifier and Type | Method and Description |
---|---|
void |
JavaBinCodec.writeSolrDocumentList(SolrDocumentList docs) |
Modifier and Type | Method and Description |
---|---|
SolrDocumentList |
MoreLikeThisComponent.mergeSolrDocumentList(SolrDocumentList one,
SolrDocumentList two,
int maxSize,
String idField) |
Modifier and Type | Method and Description |
---|---|
SolrDocumentList |
MoreLikeThisComponent.mergeSolrDocumentList(SolrDocumentList one,
SolrDocumentList two,
int maxSize,
String idField) |
void |
ResponseBuilder.setResponseDocs(SolrDocumentList _responseDocs) |
Modifier and Type | Method and Description |
---|---|
protected SolrDocumentList |
SolrEntityProcessor.doQuery(int start) |
Modifier and Type | Method and Description |
---|---|
SolrDocumentList |
LogWatcher.getHistory(long since,
AtomicBoolean found) |
Modifier and Type | Method and Description |
---|---|
void |
TextResponseWriter.writeSolrDocumentList(String name,
SolrDocumentList docs,
ReturnFields returnFields) |
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.