Package | Description |
---|---|
org.apache.solr |
Commonly reused classes and interfaces (deprecated package, do not add new classes)
|
org.apache.solr.analytics.request |
Request objects for creating Analytics requests
|
org.apache.solr.client.solrj |
Primary APIs for communicating with a Solr Server from a Java client.
|
org.apache.solr.client.solrj.impl |
Concrete implementations of client API classes.
|
org.apache.solr.client.solrj.io.stream |
Stream implementations for the Streaming Aggregation API
|
org.apache.solr.client.solrj.request |
Convenience classes for dealing with various types of Solr requests.
|
org.apache.solr.client.solrj.request.schema |
Convenience classes for making Schema API requests.
|
org.apache.solr.client.solrj.util |
Utilities for Solr client applications.
|
org.apache.solr.cloud |
Classes for dealing with ZooKeeper when operating in SolrCloud mode.
|
org.apache.solr.cloud.rule |
Classes for managing Replica placement strategy when operating in SolrCloud mode.
|
org.apache.solr.common.cloud |
Common Solr Cloud and ZooKeeper related classes reused on both clients & server.
|
org.apache.solr.common.params |
Parameter constants and enumerations.
|
org.apache.solr.core |
Core classes implementin Solr internals and the management of
SolrCore s |
org.apache.solr.handler |
Concrete implementations of
SolrRequestHandler |
org.apache.solr.handler.admin |
SolrRequestHandler implementations for powering he Solr Admin UI |
org.apache.solr.handler.component |
SearchComponent implementations for
use in SearchHandler |
org.apache.solr.handler.extraction |
ExtractingRequestHandler and related code. |
org.apache.solr.handler.loader |
ContentStreamLoader implementations for
use in ContentStreamHandlerBase implementations |
org.apache.solr.highlight |
SolrHighlighter API and related implementaions and utilities
See org.apache.lucene.search.highlight for addition information. |
org.apache.solr.request |
APIs and classes for dealing with Solr requests
|
org.apache.solr.request.json |
JSON related classes
|
org.apache.solr.response.transform |
APIs and implementations of
DocTransformer for modifying documents in Solr request responses |
org.apache.solr.schema |
IndexSchema and FieldType implementations for powering schema.xml |
org.apache.solr.search |
APIs and classes for parsing and processing search requests
|
org.apache.solr.search.facet |
APIs and classes for the JSON Facet API.
|
org.apache.solr.search.join |
Classes related to joins.
|
org.apache.solr.search.mlt |
APIs and classes for implementing MoreLikeThis (mlt) QueryParser.
|
org.apache.solr.search.similarities |
Factories for various built-in Lucene ranking models.
|
org.apache.solr.security |
Commonly used classes for Solr security framework.
|
org.apache.solr.servlet |
Servlet related classes for powering the Solr HTTP API
|
org.apache.solr.spelling |
APIs and classes used by the
SpellCheckComponent
See org.apache.lucene.search.spell and org.apache.lucene.search.suggest for additional information. |
org.apache.solr.update.processor |
UpdateRequestProcessorFactory APIs and implementations for use in UpdateRequestProcessorChain s |
org.apache.solr.util |
Common utility classes used throughout Solr
|
Modifier and Type | Method and Description |
---|---|
protected UpdateResponse |
BaseDistributedSearchTestCase.add(SolrClient client,
SolrParams params,
SolrInputDocument... sdocs) |
static Long |
SolrTestCaseJ4.addAndGetVersion(SolrInputDocument sdoc,
SolrParams params) |
static void |
SolrTestCaseHS.assertJQ(SolrClient client,
SolrParams args,
String... tests)
Pass "null" for the client to query the local server
|
void |
SolrTestCaseHS.Client.Tester.assertJQ(SolrClient client,
SolrParams args,
String... tests) |
SolrClient |
SolrTestCaseHS.ClientProvider.client(SolrInputDocument sdoc,
SolrParams params) |
protected UpdateResponse |
BaseDistributedSearchTestCase.del(SolrClient client,
SolrParams params,
Object... ids) |
static Long |
SolrTestCaseJ4.deleteAndGetVersion(String id,
SolrParams params) |
static Long |
SolrTestCaseJ4.deleteByQueryAndGetVersion(String q,
SolrParams params) |
protected UpdateResponse |
BaseDistributedSearchTestCase.delQ(SolrClient client,
SolrParams params,
String... queries) |
static String |
SolrTestCaseHS.getJSON(SolrClient client,
SolrParams params) |
static String |
SolrTestCaseHS.getQueryResponse(SolrClient client,
String wt,
SolrParams params) |
static String |
SolrTestCaseHS.getQueryResponse(String wt,
SolrParams params) |
protected UpdateResponse |
BaseDistributedSearchTestCase.indexDoc(SolrClient client,
SolrParams params,
SolrInputDocument... sdocs)
Indexes the document in both the control client and the specified client asserting
that the respones are equivilent
|
static ModifiableSolrParams |
SolrTestCaseHS.params(SolrParams params,
String... moreParams) |
protected QueryResponse |
BaseDistributedSearchTestCase.query(boolean setDistribParams,
SolrParams p)
Returns the QueryResponse from
BaseDistributedSearchTestCase.queryServer(org.apache.solr.common.params.ModifiableSolrParams) |
protected QueryResponse |
BaseDistributedSearchTestCase.query(SolrParams params)
Sets distributed params.
|
QueryResponse |
BaseDistributedSearchTestCase.queryAndCompare(SolrParams params,
Iterable<SolrClient> clients) |
QueryResponse |
BaseDistributedSearchTestCase.queryAndCompare(SolrParams params,
SolrClient... clients) |
static SolrQueryRequest |
SolrTestCaseJ4.req(SolrParams params,
String... moreParams)
Generates a SolrQueryRequest
|
void |
SolrTestCaseHS.Client.testJQ(SolrParams args,
String... tests) |
static String |
SolrTestCaseJ4.updateJ(String json,
SolrParams args)
Send JSON update commands
|
Modifier and Type | Field and Description |
---|---|
protected SolrParams |
AnalyticsStats.params |
Modifier and Type | Method and Description |
---|---|
static List<AnalyticsRequest> |
AnalyticsRequestFactory.parse(IndexSchema schema,
SolrParams params) |
Constructor and Description |
---|
AnalyticsStats(SolrQueryRequest req,
DocSet docs,
SolrParams params,
AnalyticsStatisticsCollector statsCollector) |
Modifier and Type | Class and Description |
---|---|
class |
SolrQuery
This is an augmented SolrParams with get/set/add fields for common fields used
in the Standard and Dismax request handlers
|
Modifier and Type | Method and Description |
---|---|
abstract SolrParams |
SolrRequest.getParams() |
Modifier and Type | Method and Description |
---|---|
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,
SolrParams params)
Retrieves the SolrDocuments associated with the given identifiers and uses
the SolrParams to execute the request.
|
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,
SolrParams params)
Retrieves the SolrDocument associated with the given identifier and uses
the SolrParams to execute the request.
|
QueryResponse |
SolrClient.query(SolrParams params)
Performs a query to the Solr server
|
QueryResponse |
SolrClient.query(SolrParams params,
SolrRequest.METHOD method)
Performs a query to the Solr server
|
QueryResponse |
SolrClient.query(String collection,
SolrParams params)
Performs a query to the Solr server
|
QueryResponse |
SolrClient.query(String collection,
SolrParams params,
SolrRequest.METHOD method)
Performs a query to the Solr server
|
QueryResponse |
SolrClient.queryAndStreamResponse(SolrParams params,
StreamingResponseCallback callback)
Query solr, and stream the results.
|
QueryResponse |
SolrClient.queryAndStreamResponse(String collection,
SolrParams params,
StreamingResponseCallback callback)
Query solr, and stream the results.
|
Modifier and Type | Method and Description |
---|---|
void |
HttpClientConfigurer.configure(org.apache.http.impl.client.DefaultHttpClient httpClient,
SolrParams config) |
void |
Krb5HttpClientConfigurer.configure(org.apache.http.impl.client.DefaultHttpClient httpClient,
SolrParams config) |
static void |
HttpClientUtil.configureClient(org.apache.http.impl.client.DefaultHttpClient httpClient,
SolrParams config)
Configures
DefaultHttpClient , only sets parameters if they are
present in config. |
static org.apache.http.impl.client.CloseableHttpClient |
HttpClientUtil.createClient(SolrParams params)
Creates new http client by using the provided configuration.
|
static org.apache.http.impl.client.CloseableHttpClient |
HttpClientUtil.createClient(SolrParams params,
org.apache.http.conn.ClientConnectionManager cm)
Creates new http client by using the provided configuration.
|
Modifier and Type | Method and Description |
---|---|
static JSONTupleStream |
JSONTupleStream.create(SolrClient server,
SolrParams requestParams) |
Modifier and Type | Field and Description |
---|---|
SolrParams |
GenericSolrRequest.params |
Modifier and Type | Method and Description |
---|---|
SolrParams |
CoreAdminRequest.getParams() |
SolrParams |
CoreAdminRequest.Create.getParams() |
SolrParams |
CoreAdminRequest.WaitForState.getParams() |
SolrParams |
CoreAdminRequest.RequestRecovery.getParams() |
SolrParams |
CoreAdminRequest.RequestSyncShard.getParams() |
SolrParams |
CoreAdminRequest.Persist.getParams() |
SolrParams |
CoreAdminRequest.MergeIndexes.getParams() |
SolrParams |
CoreAdminRequest.Unload.getParams() |
SolrParams |
CollectionAdminRequest.getParams() |
SolrParams |
CollectionAdminRequest.CollectionSpecificAdminRequest.getParams() |
SolrParams |
CollectionAdminRequest.CollectionShardAdminRequest.getParams() |
SolrParams |
CollectionAdminRequest.CollectionAdminRoleRequest.getParams() |
SolrParams |
CollectionAdminRequest.Create.getParams() |
SolrParams |
CollectionAdminRequest.CreateShard.getParams() |
SolrParams |
CollectionAdminRequest.SplitShard.getParams() |
SolrParams |
CollectionAdminRequest.RequestStatus.getParams() |
SolrParams |
CollectionAdminRequest.CreateAlias.getParams() |
SolrParams |
CollectionAdminRequest.DeleteAlias.getParams() |
SolrParams |
CollectionAdminRequest.AddReplica.getParams() |
SolrParams |
CollectionAdminRequest.DeleteReplica.getParams() |
SolrParams |
CollectionAdminRequest.ClusterProp.getParams() |
SolrParams |
CollectionAdminRequest.Migrate.getParams() |
SolrParams |
CollectionAdminRequest.ClusterStatus.getParams() |
SolrParams |
CollectionAdminRequest.AddReplicaProp.getParams() |
SolrParams |
CollectionAdminRequest.DeleteReplicaProp.getParams() |
SolrParams |
CollectionAdminRequest.BalanceShardUnique.getParams() |
SolrParams |
GenericSolrRequest.getParams() |
SolrParams |
LukeRequest.getParams() |
SolrParams |
FieldAnalysisRequest.getParams() |
SolrParams |
QueryRequest.getParams() |
SolrParams |
DirectXmlRequest.getParams() |
Modifier and Type | Method and Description |
---|---|
void |
DirectXmlRequest.setParams(SolrParams params) |
Constructor and Description |
---|
GenericSolrRequest(SolrRequest.METHOD m,
String path,
SolrParams params) |
QueryRequest(SolrParams q) |
QueryRequest(SolrParams q,
SolrRequest.METHOD method) |
Modifier and Type | Method and Description |
---|---|
SolrParams |
AbstractSchemaRequest.getParams() |
Modifier and Type | Method and Description |
---|---|
static String |
ClientUtils.toQueryString(SolrParams params,
boolean xml) |
Modifier and Type | Method and Description |
---|---|
SolrParams |
CloudDescriptor.getParams()
Optional parameters that can change how a core is created.
|
Modifier and Type | Method and Description |
---|---|
QueryResponse |
AbstractFullDistribZkTestBase.queryAndCompareReplicas(SolrParams params,
String shard)
Executes a query against each live and active replica of the specified shard
and aserts that the results are identical.
|
void |
AbstractFullDistribZkTestBase.queryAndCompareShards(SolrParams params)
For each Shard, executes a query against each live and active replica of that shard
and asserts that the results are identical for each replica of the same shard.
|
void |
ZkController.rejoinShardLeaderElection(SolrParams params) |
void |
CloudDescriptor.setParams(SolrParams params) |
Modifier and Type | Method and Description |
---|---|
SimpleSolrResponse |
SnitchContext.invoke(UpdateShardHandler shardHandler,
String url,
String path,
SolrParams params) |
Modifier and Type | Method and Description |
---|---|
protected String |
HashBasedRouter.getId(SolrInputDocument sdoc,
SolrParams params) |
Collection<Slice> |
DocRouter.getSearchSlices(String shardKeys,
SolrParams params,
DocCollection collection)
This method is consulted to determine what slices should be queried for a request when
an explicit shards parameter was not used.
|
abstract Collection<Slice> |
DocRouter.getSearchSlicesSingle(String shardKey,
SolrParams params,
DocCollection collection)
This method is consulted to determine what slices should be queried for a request when
an explicit shards parameter was not used.
|
Collection<Slice> |
ImplicitDocRouter.getSearchSlicesSingle(String shardKey,
SolrParams params,
DocCollection collection) |
Collection<Slice> |
HashBasedRouter.getSearchSlicesSingle(String shardKey,
SolrParams params,
DocCollection collection) |
Collection<Slice> |
CompositeIdRouter.getSearchSlicesSingle(String shardKey,
SolrParams params,
DocCollection collection) |
abstract Slice |
DocRouter.getTargetSlice(String id,
SolrInputDocument sdoc,
String route,
SolrParams params,
DocCollection collection)
Returns the Slice that the document should reside on, or null if there is not enough information
|
Slice |
ImplicitDocRouter.getTargetSlice(String id,
SolrInputDocument sdoc,
String route,
SolrParams params,
DocCollection collection) |
Slice |
HashBasedRouter.getTargetSlice(String id,
SolrInputDocument sdoc,
String route,
SolrParams params,
DocCollection collection) |
abstract boolean |
DocRouter.isTargetSlice(String id,
SolrInputDocument sdoc,
SolrParams params,
String shardId,
DocCollection collection) |
boolean |
ImplicitDocRouter.isTargetSlice(String id,
SolrInputDocument sdoc,
SolrParams params,
String shardId,
DocCollection collection) |
boolean |
HashBasedRouter.isTargetSlice(String id,
SolrInputDocument sdoc,
SolrParams params,
String shardId,
DocCollection collection) |
int |
HashBasedRouter.sliceHash(String id,
SolrInputDocument sdoc,
SolrParams params,
DocCollection collection) |
int |
CompositeIdRouter.sliceHash(String id,
SolrInputDocument doc,
SolrParams params,
DocCollection collection) |
Modifier and Type | Class and Description |
---|---|
class |
AppendedSolrParams
SolrParams wrapper which acts similar to DefaultSolrParams except that
it "appends" the values of multi-value params from both sub instances, so
that all of the values are returned.
|
class |
DefaultSolrParams |
class |
MapSolrParams |
class |
ModifiableSolrParams
This class is similar to MultiMapSolrParams except you can edit the
parameters after it is initialized.
|
class |
MultiMapSolrParams |
class |
RequiredSolrParams
This is a simple wrapper to SolrParams that will throw a 400
exception if you ask for a parameter that does not exist.
|
Modifier and Type | Field and Description |
---|---|
protected SolrParams |
DefaultSolrParams.defaults |
protected SolrParams |
RequiredSolrParams.params |
protected SolrParams |
DefaultSolrParams.params |
Modifier and Type | Method and Description |
---|---|
SolrParams |
SolrParams.toFilteredSolrParams(List<String> names)
Create filtered SolrParams.
|
static SolrParams |
SolrParams.toSolrParams(NamedList params)
Create SolrParams from NamedList.
|
static SolrParams |
SolrParams.wrapAppended(SolrParams params,
SolrParams defaults) |
static SolrParams |
SolrParams.wrapDefaults(SolrParams params,
SolrParams defaults) |
Modifier and Type | Method and Description |
---|---|
void |
ModifiableSolrParams.add(SolrParams params) |
static Map<String,String[]> |
MultiMapSolrParams.asMultiMap(SolrParams params)
Returns a MultiMap view of the SolrParams as efficiently as possible.
|
static Map<String,String[]> |
MultiMapSolrParams.asMultiMap(SolrParams params,
boolean newCopy)
Returns a MultiMap view of the SolrParams.
|
static AppendedSolrParams |
AppendedSolrParams.wrapAppended(SolrParams params,
SolrParams extra) |
static SolrParams |
SolrParams.wrapAppended(SolrParams params,
SolrParams defaults) |
static SolrParams |
SolrParams.wrapDefaults(SolrParams params,
SolrParams defaults) |
Constructor and Description |
---|
DefaultSolrParams(SolrParams params,
SolrParams defaults) |
ModifiableSolrParams(SolrParams params)
Constructs a new ModifiableSolrParams, copying values from an existing SolrParams
|
RequiredSolrParams(SolrParams params) |
Modifier and Type | Class and Description |
---|---|
static class |
RequestParams.VersionedParams |
Modifier and Type | Method and Description |
---|---|
UpdateRequestProcessorChain |
SolrCore.getUpdateProcessorChain(SolrParams params) |
Constructor and Description |
---|
CoreDescriptor(CoreContainer container,
String name,
String instanceDir,
Properties coreProps,
SolrParams params)
Create a new CoreDescriptor.
|
Modifier and Type | Field and Description |
---|---|
protected SolrParams |
RequestHandlerBase.appends |
protected SolrParams |
RequestHandlerBase.defaults |
protected SolrParams |
RequestHandlerBase.invariants |
Modifier and Type | Method and Description |
---|---|
boolean |
ReplicationHandler.doFetch(SolrParams solrParams,
boolean forceReplication) |
static boolean |
RequestHandlerUtils.handleCommit(SolrQueryRequest req,
UpdateRequestProcessor processor,
SolrParams params,
boolean force)
Check the request parameters and decide if it should commit or optimize.
|
static boolean |
RequestHandlerUtils.handleRollback(SolrQueryRequest req,
UpdateRequestProcessor processor,
SolrParams params,
boolean force) |
static void |
RequestHandlerUtils.updateCommit(CommitUpdateCommand cmd,
SolrParams params)
Modify UpdateCommand based on request parameters
|
static void |
RequestHandlerUtils.validateCommitParams(SolrParams params) |
Constructor and Description |
---|
MoreLikeThisHelper(SolrParams params,
SolrIndexSearcher searcher) |
Modifier and Type | Method and Description |
---|---|
protected static CoreDescriptor |
CoreAdminHandler.buildCoreDescriptor(SolrParams params,
CoreContainer container) |
static Set<String> |
ShowFileRequestHandler.initHidden(SolrParams invariants) |
Modifier and Type | Field and Description |
---|---|
protected SolrParams |
PivotFacetProcessor.params |
Modifier and Type | Method and Description |
---|---|
protected SolrParams |
SpellCheckComponent.getCustomParams(String dictionary,
SolrParams params)
For every param that is of the form "spellcheck.
|
Modifier and Type | Method and Description |
---|---|
protected void |
SpellCheckComponent.addCollationsToResponse(SolrParams params,
SpellingResult spellingResult,
ResponseBuilder rb,
String q,
NamedList response,
boolean suggestionsMayOverlap) |
protected void |
PivotFacetProcessor.addPivotQueriesAndRanges(NamedList<Object> pivot,
SolrParams params,
DocSet docs,
List<FacetComponent.FacetBase> facetQueries,
List<RangeFacetRequest> facetRanges)
Add facet.queries and facet.ranges to the pivot response if needed
|
static LinkedHashMap<String,SpatialHeatmapFacets.HeatmapFacet> |
SpatialHeatmapFacets.distribParse(SolrParams params,
ResponseBuilder rb)
Parses request to "HeatmapFacet" instances.
|
protected void |
FacetComponent.FieldFacet.fillParams(ResponseBuilder rb,
SolrParams params,
String field) |
protected void |
FacetComponent.DistribFieldFacet.fillParams(ResponseBuilder rb,
SolrParams params,
String field) |
protected SolrParams |
SpellCheckComponent.getCustomParams(String dictionary,
SolrParams params)
For every param that is of the form "spellcheck.
|
static NamedList<Object> |
SpatialHeatmapFacets.getHeatmapForField(String fieldKey,
String fieldName,
ResponseBuilder rb,
SolrParams params,
DocSet docSet)
Called by
SimpleFacets to compute heatmap facets. |
protected SolrSpellChecker |
SpellCheckComponent.getSpellChecker(SolrParams params) |
void |
TermsComponent.TermsHelper.init(SolrParams params) |
static StatsField.HllOptions |
StatsField.HllOptions.parseHllOptions(SolrParams localParams,
SchemaField field)
Creates an HllOptions based on the (local) params specified (if appropriate).
|
Constructor and Description |
---|
DateFacetProcessor(SolrQueryRequest req,
DocSet docs,
SolrParams params,
ResponseBuilder rb)
Deprecated.
|
PivotFacetProcessor(SolrQueryRequest req,
DocSet docs,
SolrParams params,
ResponseBuilder rb) |
RangeFacetProcessor(SolrQueryRequest req,
DocSet docs,
SolrParams params,
ResponseBuilder rb) |
Modifier and Type | Field and Description |
---|---|
protected SolrParams |
SolrContentHandler.params |
Modifier and Type | Method and Description |
---|---|
SolrContentHandler |
SolrContentHandlerFactory.createSolrContentHandler(org.apache.tika.metadata.Metadata metadata,
SolrParams params,
IndexSchema schema) |
Constructor and Description |
---|
SolrContentHandler(org.apache.tika.metadata.Metadata metadata,
SolrParams params,
IndexSchema schema) |
SolrContentHandler(org.apache.tika.metadata.Metadata metadata,
SolrParams params,
IndexSchema schema,
Collection<String> dateFormats) |
Modifier and Type | Method and Description |
---|---|
XMLLoader |
XMLLoader.init(SolrParams args) |
ContentStreamLoader |
ContentStreamLoader.init(SolrParams args)
This should be called once for each RequestHandler
|
Modifier and Type | Field and Description |
---|---|
protected SolrParams |
HighlightingPluginBase.defaults |
protected SolrParams |
PostingsSolrHighlighter.SolrExtendedPostingsHighlighter.params |
Modifier and Type | Method and Description |
---|---|
protected org.apache.lucene.search.vectorhighlight.BoundaryScanner |
BreakIteratorBoundaryScanner.get(String fieldName,
SolrParams params) |
protected org.apache.lucene.search.vectorhighlight.BoundaryScanner |
SimpleBoundaryScanner.get(String fieldName,
SolrParams params) |
protected abstract org.apache.lucene.search.vectorhighlight.BoundaryScanner |
SolrBoundaryScanner.get(String fieldName,
SolrParams params) |
protected org.apache.lucene.search.vectorhighlight.BoundaryScanner |
DefaultSolrHighlighter.getBoundaryScanner(String fieldName,
SolrParams params) |
org.apache.lucene.search.vectorhighlight.BoundaryScanner |
SolrBoundaryScanner.getBoundaryScanner(String fieldName,
SolrParams params) |
org.apache.lucene.search.highlight.Encoder |
DefaultEncoder.getEncoder(String fieldName,
SolrParams params) |
protected org.apache.lucene.search.highlight.Encoder |
DefaultSolrHighlighter.getEncoder(String fieldName,
SolrParams params)
Return an
Encoder appropriate for this field. |
org.apache.lucene.search.highlight.Encoder |
HtmlEncoder.getEncoder(String fieldName,
SolrParams params) |
org.apache.lucene.search.highlight.Encoder |
SolrEncoder.getEncoder(String fieldName,
SolrParams params)
Return an
Encoder appropriate for this field. |
protected org.apache.lucene.search.highlight.Formatter |
DefaultSolrHighlighter.getFormatter(String fieldName,
SolrParams params)
Return a
Formatter appropriate for this field. |
org.apache.lucene.search.highlight.Formatter |
SolrFormatter.getFormatter(String fieldName,
SolrParams params)
Return a
Formatter appropriate for this field. |
org.apache.lucene.search.highlight.Formatter |
HtmlFormatter.getFormatter(String fieldName,
SolrParams params) |
org.apache.lucene.search.vectorhighlight.FragListBuilder |
SolrFragListBuilder.getFragListBuilder(SolrParams params)
Return a FragListBuilder.
|
org.apache.lucene.search.vectorhighlight.FragListBuilder |
SimpleFragListBuilder.getFragListBuilder(SolrParams params) |
org.apache.lucene.search.vectorhighlight.FragListBuilder |
SingleFragListBuilder.getFragListBuilder(SolrParams params) |
org.apache.lucene.search.vectorhighlight.FragListBuilder |
WeightedFragListBuilder.getFragListBuilder(SolrParams params) |
protected org.apache.lucene.search.vectorhighlight.FragListBuilder |
DefaultSolrHighlighter.getFragListBuilder(String fieldName,
SolrParams params) |
org.apache.lucene.search.highlight.Fragmenter |
GapFragmenter.getFragmenter(String fieldName,
SolrParams params) |
org.apache.lucene.search.highlight.Fragmenter |
RegexFragmenter.getFragmenter(String fieldName,
SolrParams params) |
protected org.apache.lucene.search.highlight.Fragmenter |
DefaultSolrHighlighter.getFragmenter(String fieldName,
SolrParams params)
Return a
Fragmenter appropriate for this field. |
org.apache.lucene.search.highlight.Fragmenter |
SolrFragmenter.getFragmenter(String fieldName,
SolrParams params)
Return a
Fragmenter appropriate for this field. |
org.apache.lucene.search.vectorhighlight.FragmentsBuilder |
SolrFragmentsBuilder.getFragmentsBuilder(SolrParams params,
org.apache.lucene.search.vectorhighlight.BoundaryScanner bs)
Return a
FragmentsBuilder appropriate for this field. |
protected org.apache.lucene.search.vectorhighlight.FragmentsBuilder |
SimpleFragmentsBuilder.getFragmentsBuilder(SolrParams params,
String[] preTags,
String[] postTags,
org.apache.lucene.search.vectorhighlight.BoundaryScanner bs) |
protected abstract org.apache.lucene.search.vectorhighlight.FragmentsBuilder |
SolrFragmentsBuilder.getFragmentsBuilder(SolrParams params,
String[] preTags,
String[] postTags,
org.apache.lucene.search.vectorhighlight.BoundaryScanner bs) |
protected org.apache.lucene.search.vectorhighlight.FragmentsBuilder |
ScoreOrderFragmentsBuilder.getFragmentsBuilder(SolrParams params,
String[] preTags,
String[] postTags,
org.apache.lucene.search.vectorhighlight.BoundaryScanner bs) |
protected org.apache.lucene.search.vectorhighlight.FragmentsBuilder |
DefaultSolrHighlighter.getFragmentsBuilder(String fieldName,
SolrParams params) |
protected int |
DefaultSolrHighlighter.getMaxSnippets(String fieldName,
SolrParams params)
Return the max number of snippets for this field.
|
protected char |
SolrFragmentsBuilder.getMultiValuedSeparatorChar(SolrParams params) |
String[] |
SolrFragmentsBuilder.getPostTags(SolrParams params,
String fieldName) |
String[] |
SolrFragmentsBuilder.getPreTags(SolrParams params,
String fieldName) |
protected SolrFragmentsBuilder |
DefaultSolrHighlighter.getSolrFragmentsBuilder(String fieldName,
SolrParams params) |
boolean |
SolrHighlighter.isHighlightingEnabled(SolrParams params)
Check whether Highlighting is enabled for this request.
|
protected boolean |
DefaultSolrHighlighter.isMergeContiguousFragments(String fieldName,
SolrParams params)
Return whether adjacent fragments should be merged.
|
protected boolean |
DefaultSolrHighlighter.useFastVectorHighlighter(SolrParams params,
SchemaField schemaField)
Determines if we should use the FastVectorHighlighter for this field.
|
Modifier and Type | Field and Description |
---|---|
protected SolrParams |
SimpleFacets.global
Configuration params behavior should be driven by
|
SolrParams |
SimpleFacets.ParsedParams.localParams |
protected SolrParams |
SolrQueryRequestBase.origParams |
SolrParams |
SimpleFacets.ParsedParams.params |
protected SolrParams |
SolrQueryRequestBase.params |
SolrParams |
SimpleFacets.ParsedParams.required |
Modifier and Type | Method and Description |
---|---|
SolrParams |
SimpleFacets.getGlobalParams() |
SolrParams |
SolrQueryRequest.getOriginalParams()
Returns the original request parameters.
|
SolrParams |
SolrQueryRequestBase.getOriginalParams() |
SolrParams |
SolrQueryRequest.getParams()
returns the current request parameters
|
SolrParams |
SolrQueryRequestBase.getParams() |
protected static SolrParams |
LocalSolrQueryRequest.makeParams(String query,
String qtype,
int start,
int limit,
Map args) |
Modifier and Type | Method and Description |
---|---|
NamedList<Integer> |
SimpleFacets.getFacetTermEnumCounts(SolrIndexSearcher searcher,
DocSet docs,
String field,
int offset,
int limit,
int mincount,
boolean missing,
String sort,
String prefix,
String contains,
boolean ignoreCase,
SolrParams params)
Returns a list of terms in the specified field along with the
corresponding count of documents in the set that match that constraint.
|
void |
SolrQueryRequest.setParams(SolrParams params)
Change the parameters for this request.
|
void |
SolrQueryRequestBase.setParams(SolrParams params) |
Constructor and Description |
---|
IntervalFacets(SchemaField schemaField,
SolrIndexSearcher searcher,
DocSet docs,
String[] intervals,
SolrParams params)
Constructor that accepts un-parsed intervals using "interval faceting" syntax.
|
LocalSolrQueryRequest(SolrCore core,
SolrParams args) |
ParsedParams(SolrParams localParams,
SolrParams params,
SolrParams required,
String facetValue,
DocSet docs,
String key,
List<String> tags,
int threads) |
SimpleFacets(SolrQueryRequest req,
DocSet docs,
SolrParams params) |
SimpleFacets(SolrQueryRequest req,
DocSet docs,
SolrParams params,
ResponseBuilder rb) |
SolrQueryRequestBase(SolrCore core,
SolrParams params) |
SolrQueryRequestBase(SolrCore core,
SolrParams params,
RTimer requestTimer) |
Modifier and Type | Method and Description |
---|---|
static void |
RequestUtil.processParams(SolrRequestHandler handler,
SolrQueryRequest req,
SolrParams defaults,
SolrParams appends,
SolrParams invariants)
Set default-ish params on a SolrQueryRequest as well as do standard macro processing and JSON request parsing.
|
Modifier and Type | Method and Description |
---|---|
DocTransformer |
ElevatedMarkerFactory.create(String field,
SolrParams params,
SolrQueryRequest req) |
DocTransformer |
RawValueTransformerFactory.create(String display,
SolrParams params,
SolrQueryRequest req) |
DocTransformer |
ExplainAugmenterFactory.create(String field,
SolrParams params,
SolrQueryRequest req) |
abstract DocTransformer |
TransformerFactory.create(String field,
SolrParams params,
SolrQueryRequest req) |
DocTransformer |
ValueAugmenterFactory.create(String field,
SolrParams params,
SolrQueryRequest req) |
DocTransformer |
DocIdAugmenterFactory.create(String field,
SolrParams params,
SolrQueryRequest req) |
DocTransformer |
ShardAugmenterFactory.create(String field,
SolrParams params,
SolrQueryRequest req) |
DocTransformer |
ExcludedMarkerFactory.create(String field,
SolrParams params,
SolrQueryRequest req) |
DocTransformer |
ChildDocTransformerFactory.create(String field,
SolrParams params,
SolrQueryRequest req) |
Modifier and Type | Field and Description |
---|---|
protected SolrParams |
SimilarityFactory.params |
Modifier and Type | Method and Description |
---|---|
SolrParams |
SimilarityFactory.getParams() |
Modifier and Type | Method and Description |
---|---|
void |
SimilarityFactory.init(SolrParams params) |
Modifier and Type | Field and Description |
---|---|
protected SolrParams |
QParser.localParams |
protected SolrParams |
QParser.params |
protected SolrParams |
ExtendedDismaxQParser.ExtendedDismaxConfiguration.solrParams |
Modifier and Type | Method and Description |
---|---|
SolrParams |
QParser.getLocalParams() |
static SolrParams |
QueryParsing.getLocalParams(String txt,
SolrParams params)
"foo" returns null
"{!
|
SolrParams |
QParser.getParams() |
Modifier and Type | Method and Description |
---|---|
protected void |
DisMaxQParser.addBoostFunctions(org.apache.lucene.search.BooleanQuery.Builder query,
SolrParams solrParams) |
protected void |
DisMaxQParser.addBoostQuery(org.apache.lucene.search.BooleanQuery.Builder query,
SolrParams solrParams) |
protected boolean |
DisMaxQParser.addMainQuery(org.apache.lucene.search.BooleanQuery.Builder query,
SolrParams solrParams)
Adds the main query to the query argument.
|
protected ExtendedDismaxQParser.ExtendedDismaxConfiguration |
ExtendedDismaxQParser.createConfiguration(String qstr,
SolrParams localParams,
SolrParams params,
SolrQueryRequest req)
Creates an instance of ExtendedDismaxConfiguration.
|
QParser |
MaxScoreQParserPlugin.createParser(String qstr,
SolrParams localParams,
SolrParams params,
SolrQueryRequest req) |
QParser |
TermQParserPlugin.createParser(String qstr,
SolrParams localParams,
SolrParams params,
SolrQueryRequest req) |
QParser |
HashQParserPlugin.createParser(String query,
SolrParams localParams,
SolrParams params,
SolrQueryRequest request) |
QParser |
CollapsingQParserPlugin.createParser(String qstr,
SolrParams localParams,
SolrParams params,
SolrQueryRequest request) |
QParser |
TermsQParserPlugin.createParser(String qstr,
SolrParams localParams,
SolrParams params,
SolrQueryRequest req) |
QParser |
SpatialBoxQParserPlugin.createParser(String qstr,
SolrParams localParams,
SolrParams params,
SolrQueryRequest req) |
abstract QParser |
QParserPlugin.createParser(String qstr,
SolrParams localParams,
SolrParams params,
SolrQueryRequest req)
return a
QParser |
QParser |
LuceneQParserPlugin.createParser(String qstr,
SolrParams localParams,
SolrParams params,
SolrQueryRequest req) |
QParser |
SpatialFilterQParserPlugin.createParser(String qstr,
SolrParams localParams,
SolrParams params,
SolrQueryRequest req) |
QParser |
JoinQParserPlugin.createParser(String qstr,
SolrParams localParams,
SolrParams params,
SolrQueryRequest req) |
QParser |
ReRankQParserPlugin.createParser(String query,
SolrParams localParams,
SolrParams params,
SolrQueryRequest req) |
QParser |
ExtendedDismaxQParserPlugin.createParser(String qstr,
SolrParams localParams,
SolrParams params,
SolrQueryRequest req) |
QParser |
BoostQParserPlugin.createParser(String qstr,
SolrParams localParams,
SolrParams params,
SolrQueryRequest req) |
QParser |
RawQParserPlugin.createParser(String qstr,
SolrParams localParams,
SolrParams params,
SolrQueryRequest req) |
QParser |
NestedQParserPlugin.createParser(String qstr,
SolrParams localParams,
SolrParams params,
SolrQueryRequest req) |
QParser |
FunctionRangeQParserPlugin.createParser(String qstr,
SolrParams localParams,
SolrParams params,
SolrQueryRequest req) |
QParser |
DisMaxQParserPlugin.createParser(String qstr,
SolrParams localParams,
SolrParams params,
SolrQueryRequest req) |
QParser |
OldLuceneQParserPlugin.createParser(String qstr,
SolrParams localParams,
SolrParams params,
SolrQueryRequest req) |
QParser |
SimpleQParserPlugin.createParser(String qstr,
SolrParams localParams,
SolrParams params,
SolrQueryRequest req)
Returns a QParser that will create a query by using Lucene's SimpleQueryParser.
|
QParser |
ComplexPhraseQParserPlugin.createParser(String qstr,
SolrParams localParams,
SolrParams params,
SolrQueryRequest req) |
QParser |
FunctionQParserPlugin.createParser(String qstr,
SolrParams localParams,
SolrParams params,
SolrQueryRequest req) |
QParser |
SurroundQParserPlugin.createParser(String qstr,
SolrParams localParams,
SolrParams params,
SolrQueryRequest req) |
QParser |
ExportQParserPlugin.createParser(String qstr,
SolrParams localParams,
SolrParams params,
SolrQueryRequest request) |
QParser |
SwitchQParserPlugin.createParser(String qstr,
SolrParams localParams,
SolrParams params,
SolrQueryRequest req) |
QParser |
PrefixQParserPlugin.createParser(String qstr,
SolrParams localParams,
SolrParams params,
SolrQueryRequest req) |
QParser |
FieldQParserPlugin.createParser(String qstr,
SolrParams localParams,
SolrParams params,
SolrQueryRequest req) |
protected org.apache.lucene.search.Query |
DisMaxQParser.getAlternateUserQuery(SolrParams solrParams) |
static SolrParams |
QueryParsing.getLocalParams(String txt,
SolrParams params)
"foo" returns null
"{!
|
protected SolrPluginUtils.DisjunctionMaxQueryParser |
DisMaxQParser.getParser(Map<String,Float> fields,
String paramName,
SolrParams solrParams,
float tiebreaker) |
protected org.apache.lucene.search.Query |
DisMaxQParser.getUserQuery(String userQuery,
SolrPluginUtils.DisjunctionMaxQueryParser up,
SolrParams solrParams) |
static int |
QueryParsing.parseLocalParams(String txt,
int start,
Map<String,String> target,
SolrParams params) |
static int |
QueryParsing.parseLocalParams(String txt,
int start,
Map<String,String> target,
SolrParams params,
String startString,
char endChar) |
static String |
DisMaxQParser.parseMinShouldMatch(IndexSchema schema,
SolrParams params)
Applies the appropriate default rules for the "mm" param based on the
effective value of the "q.op" param
|
static Map<String,Float> |
DisMaxQParser.parseQueryFields(IndexSchema indexSchema,
SolrParams solrParams)
Uses
SolrPluginUtils.parseFieldBoosts(String) with the 'qf' parameter. |
void |
QParser.setLocalParams(SolrParams localParams) |
void |
QParser.setParams(SolrParams params) |
Modifier and Type | Method and Description |
---|---|
protected static Map<String,List<LegacyFacet.Subfacet>> |
LegacyFacet.parseSubFacets(SolrParams params) |
Constructor and Description |
---|
LegacyFacet(SolrParams params) |
Modifier and Type | Method and Description |
---|---|
protected QParser |
BlockJoinChildQParserPlugin.createBJQParser(String qstr,
SolrParams localParams,
SolrParams params,
SolrQueryRequest req) |
protected QParser |
BlockJoinParentQParserPlugin.createBJQParser(String qstr,
SolrParams localParams,
SolrParams params,
SolrQueryRequest req) |
QParser |
ScoreJoinQParserPlugin.createParser(String qstr,
SolrParams localParams,
SolrParams params,
SolrQueryRequest req) |
QParser |
BlockJoinParentQParserPlugin.createParser(String qstr,
SolrParams localParams,
SolrParams params,
SolrQueryRequest req) |
Constructor and Description |
---|
BlockJoinChildQParser(String qstr,
SolrParams localParams,
SolrParams params,
SolrQueryRequest req) |
Modifier and Type | Method and Description |
---|---|
QParser |
MLTQParserPlugin.createParser(String qstr,
SolrParams localParams,
SolrParams params,
SolrQueryRequest req) |
Constructor and Description |
---|
CloudMLTQParser(String qstr,
SolrParams localParams,
SolrParams params,
SolrQueryRequest req) |
SimpleMLTQParser(String qstr,
SolrParams localParams,
SolrParams params,
SolrQueryRequest req) |
Modifier and Type | Method and Description |
---|---|
void |
LMDirichletSimilarityFactory.init(SolrParams params) |
void |
SweetSpotSimilarityFactory.init(SolrParams params) |
void |
IBSimilarityFactory.init(SolrParams params) |
void |
DefaultSimilarityFactory.init(SolrParams params) |
void |
BM25SimilarityFactory.init(SolrParams params) |
void |
DFRSimilarityFactory.init(SolrParams params) |
void |
SchemaSimilarityFactory.init(SolrParams args) |
void |
LMJelinekMercerSimilarityFactory.init(SolrParams params) |
Modifier and Type | Method and Description |
---|---|
abstract SolrParams |
AuthorizationContext.getParams() |
Modifier and Type | Field and Description |
---|---|
protected SolrParams |
HttpSolrCall.queryParams |
Modifier and Type | Method and Description |
---|---|
SolrParams |
HttpSolrCall.getQueryParams() |
Modifier and Type | Method and Description |
---|---|
SolrQueryRequest |
SolrRequestParsers.buildRequestFrom(SolrCore core,
SolrParams params,
Collection<ContentStream> streams) |
protected int |
ZookeeperInfoServlet.paramAsInt(String paramName,
SolrParams params,
int defaultVal) |
String |
DirectSolrConnection.request(SolrRequestHandler handler,
SolrParams params,
String body) |
String |
DirectSolrConnection.request(String path,
SolrParams params,
String body) |
Modifier and Type | Field and Description |
---|---|
SolrParams |
SpellingOptions.customParams
Any other custom params can be passed through.
|
Constructor and Description |
---|
SpellingOptions(Collection<org.apache.lucene.analysis.Token> tokens,
org.apache.lucene.index.IndexReader reader,
int count,
int alternativeTermCount,
org.apache.lucene.search.spell.SuggestMode suggestMode,
boolean extendedResults,
float accuracy,
SolrParams customParams) |
SpellingOptions(Collection<org.apache.lucene.analysis.Token> tokens,
org.apache.lucene.index.IndexReader reader,
int count,
org.apache.lucene.search.spell.SuggestMode suggestMode,
boolean extendedResults,
float accuracy,
SolrParams customParams) |
Modifier and Type | Field and Description |
---|---|
protected SolrParams |
TikaLanguageIdentifierUpdateProcessorFactory.appends |
protected SolrParams |
LangDetectLanguageIdentifierUpdateProcessorFactory.appends |
protected SolrParams |
TikaLanguageIdentifierUpdateProcessorFactory.defaults |
protected SolrParams |
LangDetectLanguageIdentifierUpdateProcessorFactory.defaults |
protected SolrParams |
TikaLanguageIdentifierUpdateProcessorFactory.invariants |
protected SolrParams |
LangDetectLanguageIdentifierUpdateProcessorFactory.invariants |
Modifier and Type | Method and Description |
---|---|
void |
TextProfileSignature.init(SolrParams params) |
void |
Signature.init(SolrParams nl) |
Constructor and Description |
---|
ProcessorInfo(SolrParams params) |
URLClassifyProcessor(SolrParams parameters,
SolrQueryRequest request,
SolrQueryResponse response,
UpdateRequestProcessor nextProcessor) |
Modifier and Type | Method and Description |
---|---|
static void |
SolrPluginUtils.setDefaults(SolrQueryRequest req,
SolrParams defaults,
SolrParams appends,
SolrParams invariants)
Set default-ish params on a SolrQueryRequest.
|
static void |
SolrPluginUtils.setDefaults(SolrRequestHandler handler,
SolrQueryRequest req,
SolrParams defaults,
SolrParams appends,
SolrParams invariants) |
Copyright © 2000–2015 The Apache Software Foundation. All rights reserved.