Skip to content

Commit

Permalink
Update links: //lucene.apache.org/solr/ → //solr.apache.org/ (solariu…
Browse files Browse the repository at this point in the history
  • Loading branch information
thomascorthals authored Aug 21, 2021
1 parent beec496 commit 9c0c46f
Show file tree
Hide file tree
Showing 95 changed files with 182 additions and 182 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ If you are uncertain about any part or need help please feel free to ask for hel
* Solarium follows the Symfony2 code standards: http://symfony.com/doc/current/contributing/code/standards.html
* Each PR will be checked for code standards violations. Of course anything other than a 'green' status needs to be fixed before a PR can be merged.
* Each PR will be checked by the CI environment automatically. Of course anything other than a 'green' status needs to be fixed before a PR can be merged.
* If you link to the Solr reference guide in a comment or the docs, use a 'versionless' URL (e.g. <https://lucene.apache.org/solr/guide/getting-started.html>). This will always redirect to the latest release.
* If you link to the Solr reference guide in a comment or the docs, use a 'versionless' URL (e.g. <https://solr.apache.org/guide/getting-started.html>). This will always redirect to the latest release.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ Solarium 6:
$categoriesTerms = new Solarium\Component\Facet\JsonTerms(['local_key' => 'categories', 'field' => 'cat', 'limit'=>4,'numBuckets'=>true]);
```

See https://lucene.apache.org/solr/guide/local-parameters-in-queries.html for an introduction about local parameters.
See https://solr.apache.org/guide/local-parameters-in-queries.html for an introduction about local parameters.


### Pitfall when upgrading from 3.x or 4.x
Expand Down
2 changes: 1 addition & 1 deletion docs/documents.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ foreach ($resultset as $document) {
htmlFooter();
```

Your schema has to meet certain criteria for this to work. For more info on Solr atomic updates please read the manual: <https://lucene.apache.org/solr/guide/updating-parts-of-documents.html#atomic-updates>
Your schema has to meet certain criteria for this to work. For more info on Solr atomic updates please read the manual: <https://solr.apache.org/guide/updating-parts-of-documents.html#atomic-updates>.

Versioning
----------
Expand Down
2 changes: 1 addition & 1 deletion docs/queries/extract-query.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
An extract query can be used to index files in Solr. For more info see <https://lucene.apache.org/solr/guide/uploading-data-with-solr-cell-using-apache-tika.html>
An extract query can be used to index files in Solr. For more info see <https://solr.apache.org/guide/uploading-data-with-solr-cell-using-apache-tika.html>.

Building an extract query
-------------------------
Expand Down
2 changes: 1 addition & 1 deletion docs/queries/morelikethis-query.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
A MoreLikeThis (MLT) query is designed to generate information about "similar" documents using the MoreLikeThis functionality provided by Lucene. It supports faceting, paging, and filtering using CommonQueryParameters.

This query uses the [Solr MoreLikeThis Handler](https://lucene.apache.org/solr/guide/morelikethis.html) that specifically returns MLT results. Alternatively you can use the [MLT component](select-query/building-a-select-query/components/morelikethis-component.md) for the select query.
This query uses the [Solr MoreLikeThis Handler](https://solr.apache.org/guide/morelikethis.html) that specifically returns MLT results. Alternatively you can use the [MLT component](select-query/building-a-select-query/components/morelikethis-component.md) for the select query.

Building a MLT query
--------------------
Expand Down
2 changes: 1 addition & 1 deletion docs/queries/ping-query.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ A ping query can be used to check the connection to the Solr server and the heal

*It's not advisable to check Solr with a ping before every request, this can have a big performance impact. You are better of using the ping query with intervals, or as a check after a query error to see if the query was faulty or if Solr has problems.*

The search executed by a ping is configured with the Request Parameters API. For more info see <https://lucene.apache.org/solr/guide/ping.html>
The search executed by a ping is configured with the Request Parameters API. For more info see <https://solr.apache.org/guide/ping.html>.

Creating a ping query
---------------------
Expand Down
2 changes: 1 addition & 1 deletion docs/queries/query-helper/query-helper.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ See the API docs (linked at the bottom of this page) for more details.
Dereferenced params
-------------------

The query helper also supports dereferenced params. See the implementation of the join() and qparser() methods. For more info also see <https://lucene.apache.org/solr/guide/local-parameters-in-queries.html#parameter-dereferencing>:
The query helper also supports dereferenced params. See the implementation of the `join()` and `qparser()` methods. For more info also see <https://solr.apache.org/guide/local-parameters-in-queries.html#parameter-dereferencing>:

> Parameter dereferencing, or indirection, lets you use the value of another argument rather than specifying it directly. This can be used to simplify queries, decouple user input from query parameters, or decouple front-end GUI parameters from defaults set in `solrconfig.xml`.
Expand Down
2 changes: 1 addition & 1 deletion docs/queries/realtimeget-query.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
A RealtimeGet query is useful when using Solr as a NoSQL store. For more info see <https://lucene.apache.org/solr/guide/realtime-get.html>
A RealtimeGet query is useful when using Solr as a NoSQL store. For more info see <https://solr.apache.org/guide/realtime-get.html>.

Building a realtime query
-------------------------
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
For a description of the Solr AnalyticsComponent see the [Solr Ref Guide](https://lucene.apache.org/solr/guide/analytics.html).
For a description of the Solr Analytics Component see the [Solr Ref Guide](https://solr.apache.org/guide/analytics.html).

Options
-------
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
For a description of Solr debugging see <https://lucene.apache.org/solr/guide/common-query-parameters.html#debug-parameter>.
For a description of Solr debugging see <https://solr.apache.org/guide/common-query-parameters.html#debug-parameter>.

Options
-------
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
For a description of Solr distributed search (also referred to as 'shards' or 'sharding') see <https://lucene.apache.org/solr/guide/distributed-search-with-index-sharding.html>.
For a description of Solr distributed search (also referred to as 'shards' or 'sharding') see <https://solr.apache.org/guide/distributed-search-with-index-sharding.html>.

Options
-------
Expand Down Expand Up @@ -27,7 +27,7 @@ $client = new Solarium\Client($adapter, $eventDispatcher, $config);
$query = $client->createSelect();

// add distributed search settings
// see https://lucene.apache.org/solr/guide/distributed-search-with-index-sharding.html#testing-index-sharding-on-two-local-servers for setting up two Solr instances
// see https://solr.apache.org/guide/distributed-search-with-index-sharding.html#testing-index-sharding-on-two-local-servers for setting up two Solr instances
$distributedSearch = $query->getDistributedSearch();
$distributedSearch->addShard('shard1', 'localhost:8983/solr');
$distributedSearch->addShard('shard2', 'localhost:7574/solr');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Only the facet-type specific options are listed. See [Facetset component](V3:Fac
| offset | int | null | Show facet count starting from this offset. |
| mincount | int | null | Minimal term count to be included in facet count results. |
| missing | boolean | null | Also make a count of all document that have no value for the facet field. |
| method | string | null | Use one of the class constants as value. See <https://lucene.apache.org/solr/guide/faceting.html#field-value-faceting-parameters> for details. |
| method | string | null | Use one of the class constants as value. See <https://solr.apache.org/guide/faceting.html#field-value-faceting-parameters> for details. |
||

Example
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
The facet class supports the Solr pivot facet: <https://lucene.apache.org/solr/guide/faceting.html#pivot-decision-tree-faceting>.
The facet class supports the Solr pivot facet: <https://solr.apache.org/guide/faceting.html#pivot-decision-tree-faceting>.

Options
-------
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
The facet class supports the Solr range facet: <https://lucene.apache.org/solr/guide/faceting.html#range-faceting>.
The facet class supports the Solr range facet: <https://solr.apache.org/guide/faceting.html#range-faceting>.

Options
-------
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
For a description of Solr grouping (also referred to as 'result grouping' or 'field collapse') see <https://lucene.apache.org/solr/guide/result-grouping.html>.
For a description of Solr grouping (also referred to as 'result grouping' or 'field collapse') see <https://solr.apache.org/guide/result-grouping.html>.

It's important to have a good understanding of the available options, as they can have have big effects on the result format.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
The highlighting component can be used to highlight matches in content. For more info see <https://lucene.apache.org/solr/guide/highlighting.html>.
The highlighting component can be used to highlight matches in content. For more info see <https://solr.apache.org/guide/highlighting.html>.

Options
-------
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
The MoreLikeThis component can be used if you want to retrieve similar documents for your query results. This component uses MoreLikeThis in the StandardRequestHandler, not the standalone MoreLikeThisHandler. For more info see <https://lucene.apache.org/solr/guide/morelikethis.html>.
The MoreLikeThis component can be used if you want to retrieve similar documents for your query results. This component uses MoreLikeThis in the StandardRequestHandler, not the standalone MoreLikeThisHandler. For more info see <https://solr.apache.org/guide/morelikethis.html>.

Options
-------
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Query Elevation is a Solr component that lets you configure the top results for a given query regardless of the normal Lucene scoring. Elevated query results can be configured in an external XML file or at request time. For more info see <https://lucene.apache.org/solr/guide/the-query-elevation-component.html>.
Query Elevation is a Solr component that lets you configure the top results for a given query regardless of the normal Lucene scoring. Elevated query results can be configured in an external XML file or at request time. For more info see <https://solr.apache.org/guide/the-query-elevation-component.html>.

Options
-------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Query Re-Ranking allows you to run a simple query (A) for matching documents and

Since the more costly ranking from query B is only applied to the top N documents, it will have less impact on performance then just using the complex query B by itself. The trade off is that documents which score very low using the simple query A may not be considered during the re-ranking phase, even if they would score very highly using query B.

For more info see <https://lucene.apache.org/solr/guide/query-re-ranking.html>.
For more info see <https://solr.apache.org/guide/query-re-ranking.html>.

Options
-------
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
For a description of Solr spellcheck (also referred to as 'query suggest') see <https://lucene.apache.org/solr/guide/spell-checking.html>.
For a description of Solr spellcheck (also referred to as 'query suggest') see <https://solr.apache.org/guide/spell-checking.html>.

The `setQuery()` method of this component supports [placeholders](V3:Placeholders "wikilink").

Expand All @@ -25,7 +25,7 @@ Options
Collate params
--------------

Using the API method setCollateParam($param, $value) you can set any collate params you need. For more info see <https://lucene.apache.org/solr/guide/spell-checking.html#spell-check-parameters>.
Using the API method setCollateParam($param, $value) you can set any collate params you need. For more info see <https://solr.apache.org/guide/spell-checking.html#spell-check-parameters>.

Example
-------
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
For a description of the Solr StatsComponent see <https://lucene.apache.org/solr/guide/the-stats-component.html>.
For a description of the Solr StatsComponent see <https://solr.apache.org/guide/the-stats-component.html>.

Options
-------
Expand Down
6 changes: 3 additions & 3 deletions docs/queries/select-query/select-query.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
With select queries you can select documents and/or facet counts from your Solr index. Solr select queries have lots of options. See the following pages in the Solr reference guide for an intro:

- [Common Query Parameters](https://lucene.apache.org/solr/guide/common-query-parameters.html)
- [The Standard Query Parser](https://lucene.apache.org/solr/guide/the-standard-query-parser.html)
- [Faceting](https://lucene.apache.org/solr/guide/faceting.html)
- [Common Query Parameters](https://solr.apache.org/guide/common-query-parameters.html)
- [The Standard Query Parser](https://solr.apache.org/guide/the-standard-query-parser.html)
- [Faceting](https://solr.apache.org/guide/faceting.html)
4 changes: 2 additions & 2 deletions docs/queries/server-query/core-admin-query.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CoreAdmin queries can be used to [administrate cores on your Solr server](https://lucene.apache.org/solr/guide/coreadmin-api.html).
CoreAdmin queries can be used to [administrate cores on your Solr server](https://solr.apache.org/guide/coreadmin-api.html).

The CoreAdmin API on the Apache Solr server has several "actions" available and every action can have a set of arguments.

Expand Down Expand Up @@ -133,7 +133,7 @@ Split

Use to split a core.

See also: https://lucene.apache.org/solr/guide/coreadmin-api.html#coreadmin-split
See also: <https://solr.apache.org/guide/coreadmin-api.html#coreadmin-split>.

**Available action methods**:

Expand Down
4 changes: 2 additions & 2 deletions docs/queries/suggester-query.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
A suggester query is a fast way to create an autocomplete feature. For more info on the Solr suggester component see: <https://lucene.apache.org/solr/guide/suggester.html>.
A suggester query is a fast way to create an autocomplete feature. For more info on the Solr SuggestComponent see: <https://solr.apache.org/guide/suggester.html>.

Building a suggester query
--------------------------
Expand All @@ -10,7 +10,7 @@ See the example code below.
| Name | Type | Default value | Description |
|-----------------|------------------|---------------|----------------------------------------------------------------------------------------|
| query | string | null | Query to spellcheck |
| dictionary | string or array | null | The name(s) of the dictionary or dictionaries to use |
| dictionary | string or array | null | The name(s) of the dictionary or dictionaries to use |
| onlymorepopular | boolean | null | Only return suggestions that result in more hits for the query than the existing query |
| collate | boolean | null | |
||
Expand Down
2 changes: 1 addition & 1 deletion docs/queries/terms-query.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
A terms query provides access to the indexed terms in a field. For details see: <https://lucene.apache.org/solr/guide/the-terms-component.html>.
A terms query provides access to the indexed terms in a field. For details see: <https://solr.apache.org/guide/the-terms-component.html>.

Building a terms query
----------------------
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
An update query has options and commands. These commands and options are instructions for the client classes to build and execute a request and return the correct result. In the following sections both the options and commands will be discussed in detail. You can also take a look at <https://lucene.apache.org/solr/guide/uploading-data-with-index-handlers.html#xml-formatted-index-updates> for more information about the underlying Solr update handler XML request format.
An update query has options and commands. These commands and options are instructions for the client classes to build and execute a request and return the correct result. In the following sections both the options and commands will be discussed in detail. You can also take a look at <https://solr.apache.org/guide/uploading-data-with-index-handlers.html#xml-formatted-index-updates> for more information about the underlying Solr update handler XML request format.

Options
-------
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
You can use this command to optimize your Solr index. Optimizing 'defragments' your index. The space taken by deleted document data is reclaimed and can merge the index into fewer segments. This can improve search performance a lot.

See <https://lucene.apache.org/solr/guide/uploading-data-with-index-handlers.html#commit-and-optimize-during-updates> for more info about optimizing.
See <https://solr.apache.org/guide/uploading-data-with-index-handlers.html#commit-and-optimize-during-updates> for more info about optimizing.

While 'optimizing' sounds like it's always a good thing to do, you should use it with care, as it can have a negative performance impact *during the optimize process*. If possible use try to use it outside peak hours.

Expand Down
2 changes: 1 addition & 1 deletion examples/2.1.5.1.9-facet-json-range.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
// create a json range instance and set options
// Set the 'other' parameter to retrieve counts for before, after, between, or all three.
// Possible values are : JsonRange::OTHER_BEFORE, JsonRange::OTHER_AFTER, JsonRange::OTHER_BETWEEN, JsonRange::OTHER_ALL
// See https://lucene.apache.org/solr/guide/json-facet-api.html#range-facet-parameters
// See https://solr.apache.org/guide/json-facet-api.html#range-facet-parameters
$priceranges = new JsonRange(['local_key' => 'priceranges', 'field' => 'price', 'start'=>1 ,'end'=>300,'gap'=>100, 'other'=>JsonRange::OTHER_ALL]);

// add json range instance to the facetSet
Expand Down
2 changes: 1 addition & 1 deletion examples/2.1.5.8-distributed-search.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
$query = $client->createSelect();

// add distributed search settings
// see https://lucene.apache.org/solr/guide/distributed-search-with-index-sharding.html#testing-index-sharding-on-two-local-servers for setting up two Solr instances
// see https://solr.apache.org/guide/distributed-search-with-index-sharding.html#testing-index-sharding-on-two-local-servers for setting up two Solr instances
$distributedSearch = $query->getDistributedSearch();
$distributedSearch->addShard('shard1', 'localhost:8983/solr');
$distributedSearch->addShard('shard2', 'localhost:7574/solr');
Expand Down
Loading

0 comments on commit 9c0c46f

Please sign in to comment.