Modified: sites/solr/guide/solr/latest/getting-started/tutorial-films.html URL: http://svn.apache.org/viewvc/sites/solr/guide/solr/latest/getting-started/tutorial-films.html?rev=1083697&r1=1083696&r2=1083697&view=diff ============================================================================== --- sites/solr/guide/solr/latest/getting-started/tutorial-films.html (original) +++ sites/solr/guide/solr/latest/getting-started/tutorial-films.html Fri Jul 21 18:07:42 2023 @@ -39,7 +39,7 @@ <div class="navbar-item has-dropdown is-hoverable"> <a class="navbar-link" href="#">Resources</a> <div class="navbar-dropdown"> - <a class="navbar-item" href="https://solr.apache.org/docs/9_2_1/index.html" target="_blank" rel="noreferrer nopener">Solr Javadocs</a> + <a class="navbar-item" href="https://solr.apache.org/docs/9_3_0/index.html" target="_blank" rel="noreferrer nopener">Solr Javadocs</a> <a class="navbar-item" href="https://solr.apache.org/community.html#version-control" target="_blank" rel="noreferrer nopener">Source Code</a> <a class="navbar-item" href="https://solr.apache.org/community.html" target="_blank" rel="noreferrer nopener">Community Links</a> <a class="navbar-item" href="https://github.com/apache/solr/tree/main/dev-docs/ref-guide" target="_blank" rel="noreferrer nopener">Contribute</a> @@ -56,25 +56,25 @@ </nav> </header> <div class="body"> -<div class="nav-container" data-component="solr" data-version="9_2"> +<div class="nav-container" data-component="solr" data-version="9_3"> <aside class="nav"> <div class="panels"> <!-- Solr Changes - Start --> <div class="nav-panel-explore" data-panel="explore"> <div class="context"> <span class="title">Solr Reference Guide</span> - <span class="version">9.2</span> + <span class="version">9.3</span> </div> <!-- Programmatically creates the component and version list --> <ul class="components"> <li class="component is-current"> <a class="title" href="../index.html">Solr Reference Guide</a> <ul class="versions"> - <li class="version"> - <a href="../../9_3/index.html">9.3-beta</a> - </li> <li class="version is-current is-latest"> - <a href="../index.html">9.2</a> + <a href="../index.html">9.3</a> + </li> + <li class="version"> + <a href="../../9_2/index.html">9.2</a> </li> <li class="version"> <a href="../../9_1/index.html">9.1</a> @@ -211,7 +211,7 @@ <a class="nav-link" href="tutorial-films.html">Exercise 2: Index Films Data</a> </li> <li class="nav-item" data-depth="2"> - <a class="nav-link" href="tutorial-diy.html">Exercise 3 Index Your Own Data</a> + <a class="nav-link" href="tutorial-diy.html">Exercise 3: Index Your Own Data</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="tutorial-solrcloud.html">Getting Started with SolrCloud</a> @@ -718,6 +718,9 @@ </ul> </li> <li class="nav-item" data-depth="2"> + <a class="nav-link" href="../indexing-guide/indexing-with-cbor.html">Indexing with Update CBOR data format</a> + </li> + <li class="nav-item" data-depth="2"> <a class="nav-link" href="../indexing-guide/indexing-with-tika.html">Indexing with Solr Cell and Apache Tika</a> </li> <li class="nav-item" data-depth="2"> @@ -1070,17 +1073,17 @@ </ul> </nav> <div class="page-versions"> - <button class="version-menu-toggle" title="Show other versions of page">9.2</button> + <button class="version-menu-toggle" title="Show other versions of page">9.3</button> <div class="version-menu"> - <a class="version" href="../../9_3/getting-started/tutorial-films.html">9.3-beta</a> - <a class="version is-current" href="tutorial-films.html">9.2</a> + <a class="version is-current" href="tutorial-films.html">9.3</a> + <a class="version" href="../../9_2/getting-started/tutorial-films.html">9.2</a> <a class="version" href="../../9_1/getting-started/tutorial-films.html">9.1</a> <a class="version" href="../../9_0/getting-started/tutorial-films.html">9.0</a> </div> </div> <!-- Solr Additions - Start --> <!-- Solr New File --> -<span class="perma-link-copy" version="9_2"> +<span class="perma-link-copy" version="9_3"> </span><!-- Solr Additions - End --> <div class="edit-this-page"><a href="https://github.com/apache/solr/tree/main/solr/solr-ref-guide/modules/getting-started/pages/tutorial-films.adoc">Edit this Page</a></div> </div> @@ -1108,7 +1111,7 @@ Then go ahead to the next section.</p> </div> <div class="listingblock"> <div class="content"> -<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash">./bin/solr start -c -p 8983 -s example/cloud/node1/solr</code></pre> +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">$ bin/solr start -c -p 8983 -s example/cloud/node1/solr</code></pre> </div> </div> <div class="paragraph"> @@ -1117,7 +1120,7 @@ When it’s done start the second no </div> <div class="listingblock"> <div class="content"> -<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash">./bin/solr start -c -p 7574 -s example/cloud/node2/solr -z localhost:9983</code></pre> +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">$ bin/solr start -c -p 7574 -s example/cloud/node2/solr -z localhost:9983</code></pre> </div> </div> <div class="admonitionblock note"> @@ -1170,7 +1173,7 @@ This time, we’re going to use a co </div> <div class="listingblock"> <div class="content"> -<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash">bin/solr create -c films -s 2 -rf 2</code></pre> +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">$ bin/solr create -c films -s 2 -rf 2</code></pre> </div> </div> <div class="paragraph"> @@ -1188,7 +1191,7 @@ This is equivalent to the options we had </div> <div class="listingblock"> <div class="content"> -<pre class="highlightjs highlight"><code class="language-none hljs">WARNING: Using _default configset. Data driven schema functionality is enabled by default, which is +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">WARNING: Using _default configset. Data driven schema functionality is enabled by default, which is NOT RECOMMENDED for production use. To turn it off: @@ -1196,7 +1199,7 @@ This is equivalent to the options we had Connecting to ZooKeeper at localhost:9983 ... INFO - 2017-07-27 15:07:46.191; org.apache.solr.client.solrj.impl.ZkClientClusterStateProvider; Cluster at localhost:9983 ready -Uploading /9.2.1/server/solr/configsets/_default/conf for config films to ZooKeeper at localhost:9983 +Uploading /{solr-full-version}/server/solr/configsets/_default/conf for config films to ZooKeeper at localhost:9983 Creating new collection 'films' using command: http://localhost:7574/solr/admin/collections?action=CREATE&name=films&numShards=2&replicationFactor=2&collection.configName=films @@ -1279,7 +1282,7 @@ At the command line, enter this curl com </div> <div class="listingblock"> <div class="content"> -<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash">curl -X POST -H 'Content-type:application/json' --data-binary '{"add-field": {"name":"name", "type":"text_general", "multiValued":false, "stored":true}}' http://localhost:8983/solr/films/schema</code></pre> +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">$ curl -X POST -H 'Content-type:application/json' --data-binary '{"add-field": {"name":"name", "type":"text_general", "multiValued":false, "stored":true}}' http://localhost:8983/solr/films/schema</code></pre> </div> </div> <div class="paragraph"> @@ -1319,7 +1322,7 @@ Let’s do that now.</p> </div> <div class="listingblock"> <div class="content"> -<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash">curl -X POST -H 'Content-type:application/json' --data-binary '{"add-copy-field" : {"source":"*","dest":"_text_"}}' http://localhost:8983/solr/films/schema</code></pre> +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">$ curl -X POST -H 'Content-type:application/json' --data-binary '{"add-copy-field" : {"source":"*","dest":"_text_"}}' http://localhost:8983/solr/films/schema</code></pre> </div> </div> <div class="paragraph"> @@ -1361,28 +1364,91 @@ With your production data, you will want It comes in three formats: JSON, XML and CSV. Pick one of the formats and index it into the "films" collection (in each example, one command is for Unix/MacOS and the other is for Windows):</p> </div> -<div class="listingblock"> +<div class="openblock dynamic-tabs"> <div class="title">To Index JSON Format</div> <div class="content"> -<pre class="highlightjs highlight"><code class="language-none hljs">bin/post -c films example/films/films.json - -C:\solr-9.2.1> java -jar -Dc=films -Dauto example\exampledocs\post.jar example\films\*.json</code></pre> +<div id="unixindexjson" class="exampleblock tab-pane"> +<div class="content"> +<div class="paragraph"> +<p><strong class="tab-label">Linux/Mac</strong></p> +</div> +<div class="listingblock"> +<div class="content"> +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">$ bin/post -c films example/films/films.json</code></pre> </div> </div> +</div> +</div> +<div id="winindexjson" class="exampleblock tab-pane"> +<div class="content"> +<div class="paragraph"> +<p><strong class="tab-label">Windows</strong></p> +</div> <div class="listingblock"> +<div class="content"> +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">$ java -jar -Dc=films -Dauto example\exampledocs\post.jar example\films\*.json</code></pre> +</div> +</div> +</div> +</div> +</div> +</div> +<div class="openblock dynamic-tabs"> <div class="title">To Index XML Format</div> <div class="content"> -<pre class="highlightjs highlight"><code class="language-none hljs">bin/post -c films example/films/films.xml - -C:\solr-9.2.1> java -jar -Dc=films -Dauto example\exampledocs\post.jar example\films\*.xml</code></pre> +<div id="unixindexxml" class="exampleblock tab-pane"> +<div class="content"> +<div class="paragraph"> +<p><strong class="tab-label">Linux/Mac</strong></p> +</div> +<div class="listingblock"> +<div class="content"> +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">$ bin/post -c films example/films/films.xml</code></pre> +</div> +</div> </div> </div> +<div id="winindexxml" class="exampleblock tab-pane"> +<div class="content"> +<div class="paragraph"> +<p><strong class="tab-label">Windows</strong></p> +</div> <div class="listingblock"> +<div class="content"> +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">$ java -jar -Dc=films -Dauto example\exampledocs\post.jar example\films\*.xml</code></pre> +</div> +</div> +</div> +</div> +</div> +</div> +<div class="openblock dynamic-tabs"> <div class="title">To Index CSV Format</div> <div class="content"> -<pre class="highlightjs highlight"><code class="language-none hljs">bin/post -c films example/films/films.csv -params "f.genre.split=true&f.directed_by.split=true&f.genre.separator=|&f.directed_by.separator=|" - -C:\solr-9.2.1> java -jar -Dc=films -Dparams=f.genre.split=true&f.directed_by.split=true&f.genre.separator=|&f.directed_by.separator=| -Dauto example\exampledocs\post.jar example\films\*.csv</code></pre> +<div id="unixindexcsv" class="exampleblock tab-pane"> +<div class="content"> +<div class="paragraph"> +<p><strong class="tab-label">Linux/Mac</strong></p> +</div> +<div class="listingblock"> +<div class="content"> +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">$ bin/post -c films example/films/films.csv -params "f.genre.split=true&f.directed_by.split=true&f.genre.separator=|&f.directed_by.separator=|"</code></pre> +</div> +</div> +</div> +</div> +<div id="winindexcsv" class="exampleblock tab-pane"> +<div class="content"> +<div class="paragraph"> +<p><strong class="tab-label">Windows</strong></p> +</div> +<div class="listingblock"> +<div class="content"> +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">$ java -jar -Dc=films -Dparams=f.genre.split=true&f.directed_by.split=true&f.genre.separator=|&f.directed_by.separator=| -Dauto example\exampledocs\post.jar example\films\*.csv</code></pre> +</div> +</div> +</div> +</div> </div> </div> <div class="paragraph"> @@ -1409,8 +1475,8 @@ Telling Solr to split these columns this </div> <div class="listingblock"> <div class="content"> -<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash">$ ./bin/post -c films example/films/films.json -/bin/java -classpath /solr-9.2.1/server/solr-webapp/webapp/WEB-INF/lib/solr-core-9.2.1.jar -Dauto=yes -Dc=films -Ddata=files org.apache.solr.util.SimplePostTool example/films/films.json +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">$ bin/post -c films example/films/films.json +# bin/java -classpath /solr-{solr-full-version}/server/solr-webapp/webapp/WEB-INF/lib/solr-core-{solr-full-version}.jar -Dauto=yes -Dc=films -Ddata=files org.apache.solr.cli.SimplePostTool example/films/films.json SimplePostTool version 5.0.0 Posting files to [base] url http://localhost:8983/solr/films/update... Entering auto mode. File endings considered are xml,json,jsonl,csv,pdf,doc,docx,ppt,pptx,xls,xlsx,odt,odp,ods,ott,otp,ots,rtf,htm,html,txt,log @@ -1459,8 +1525,10 @@ There are several types of faceting: fie If you only want facets, and no document contents, specify <code>rows=0</code>. The <code>curl</code> command below will return facet counts for the <code>genre_str</code> field:</p> </div> -<div class="paragraph"> -<p><code>curl "http://localhost:8983/solr/films/select?q=*:*&rows=0&facet=true&facet.field=genre_str"</code></p> +<div class="listingblock"> +<div class="content"> +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">$ curl "http://localhost:8983/solr/films/select?q=\*:*&rows=0&facet=true&facet.field=genre_str"`</code></pre> +</div> </div> <div class="paragraph"> <p>In your terminal, you’ll see something like:</p> @@ -1505,7 +1573,7 @@ Or, perhaps you do want all the facets, </div> <div class="listingblock"> <div class="content"> -<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash">curl "http://localhost:8983/solr/films/select?=&q=\*:*&facet.field=genre_str&facet.mincount=200&facet=on&rows=0"</code></pre> +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">$ curl "http://localhost:8983/solr/films/select?=&q=\*:*&facet.field=genre_str&facet.mincount=200&facet=on&rows=0"</code></pre> </div> </div> <div class="paragraph"> @@ -1531,17 +1599,17 @@ The films data includes the release date </div> <div class="listingblock"> <div class="content"> -<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash">curl 'http://localhost:8983/solr/films/select?q=*:*&rows=0'\ -'&facet=true'\ -'&facet.range=initial_release_date'\ -'&facet.range.start=NOW/YEAR-25YEAR'\ -'&facet.range.end=NOW'\ -'&facet.range.gap=%2B1YEAR'</code></pre> +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">$ curl "http://localhost:8983/solr/films/select?q=*:*&rows=0\ +&facet=true\ +&facet.range=initial_release_date\ +&facet.range.start=NOW/YEAR-25YEAR\ +&facet.range.end=NOW\ +&facet.range.gap=%2B1YEAR"</code></pre> </div> </div> <div class="paragraph"> <p>This will request all films and ask for them to be grouped by year starting with 25 years ago (our earliest release date is in 2000) and ending today. -Note that this query again URL encodes a <code>+</code> as <code>%2B</code>.</p> +Note that this query URL encodes a <code>+</code> as <code>%2B</code>.</p> </div> <div class="paragraph"> <p>In the terminal you will see:</p> @@ -1607,7 +1675,7 @@ Here’s how to get at the raw data </div> <div class="listingblock"> <div class="content"> -<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash">curl "http://localhost:8983/solr/films/select?q=\*:*&rows=0&facet=on&facet.pivot=genre_str,directed_by_str"</code></pre> +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">$ curl "http://localhost:8983/solr/films/select?q=\*:*&rows=0&facet=on&facet.pivot=genre_str,directed_by_str"</code></pre> </div> </div> <div class="paragraph"> @@ -1671,7 +1739,7 @@ To do that, issue this command at the co </div> <div class="listingblock"> <div class="content"> -<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash">bin/solr delete -c films</code></pre> +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">$ bin/solr delete -c films</code></pre> </div> </div> </div>
Modified: sites/solr/guide/solr/latest/getting-started/tutorial-five-minutes.html URL: http://svn.apache.org/viewvc/sites/solr/guide/solr/latest/getting-started/tutorial-five-minutes.html?rev=1083697&r1=1083696&r2=1083697&view=diff ============================================================================== --- sites/solr/guide/solr/latest/getting-started/tutorial-five-minutes.html (original) +++ sites/solr/guide/solr/latest/getting-started/tutorial-five-minutes.html Fri Jul 21 18:07:42 2023 @@ -39,7 +39,7 @@ <div class="navbar-item has-dropdown is-hoverable"> <a class="navbar-link" href="#">Resources</a> <div class="navbar-dropdown"> - <a class="navbar-item" href="https://solr.apache.org/docs/9_2_1/index.html" target="_blank" rel="noreferrer nopener">Solr Javadocs</a> + <a class="navbar-item" href="https://solr.apache.org/docs/9_3_0/index.html" target="_blank" rel="noreferrer nopener">Solr Javadocs</a> <a class="navbar-item" href="https://solr.apache.org/community.html#version-control" target="_blank" rel="noreferrer nopener">Source Code</a> <a class="navbar-item" href="https://solr.apache.org/community.html" target="_blank" rel="noreferrer nopener">Community Links</a> <a class="navbar-item" href="https://github.com/apache/solr/tree/main/dev-docs/ref-guide" target="_blank" rel="noreferrer nopener">Contribute</a> @@ -56,25 +56,25 @@ </nav> </header> <div class="body"> -<div class="nav-container" data-component="solr" data-version="9_2"> +<div class="nav-container" data-component="solr" data-version="9_3"> <aside class="nav"> <div class="panels"> <!-- Solr Changes - Start --> <div class="nav-panel-explore" data-panel="explore"> <div class="context"> <span class="title">Solr Reference Guide</span> - <span class="version">9.2</span> + <span class="version">9.3</span> </div> <!-- Programmatically creates the component and version list --> <ul class="components"> <li class="component is-current"> <a class="title" href="../index.html">Solr Reference Guide</a> <ul class="versions"> - <li class="version"> - <a href="../../9_3/index.html">9.3-beta</a> - </li> <li class="version is-current is-latest"> - <a href="../index.html">9.2</a> + <a href="../index.html">9.3</a> + </li> + <li class="version"> + <a href="../../9_2/index.html">9.2</a> </li> <li class="version"> <a href="../../9_1/index.html">9.1</a> @@ -211,7 +211,7 @@ <a class="nav-link" href="tutorial-films.html">Exercise 2: Index Films Data</a> </li> <li class="nav-item" data-depth="2"> - <a class="nav-link" href="tutorial-diy.html">Exercise 3 Index Your Own Data</a> + <a class="nav-link" href="tutorial-diy.html">Exercise 3: Index Your Own Data</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="tutorial-solrcloud.html">Getting Started with SolrCloud</a> @@ -718,6 +718,9 @@ </ul> </li> <li class="nav-item" data-depth="2"> + <a class="nav-link" href="../indexing-guide/indexing-with-cbor.html">Indexing with Update CBOR data format</a> + </li> + <li class="nav-item" data-depth="2"> <a class="nav-link" href="../indexing-guide/indexing-with-tika.html">Indexing with Solr Cell and Apache Tika</a> </li> <li class="nav-item" data-depth="2"> @@ -1070,17 +1073,17 @@ </ul> </nav> <div class="page-versions"> - <button class="version-menu-toggle" title="Show other versions of page">9.2</button> + <button class="version-menu-toggle" title="Show other versions of page">9.3</button> <div class="version-menu"> - <a class="version" href="../../9_3/getting-started/tutorial-five-minutes.html">9.3-beta</a> - <a class="version is-current" href="tutorial-five-minutes.html">9.2</a> + <a class="version is-current" href="tutorial-five-minutes.html">9.3</a> + <a class="version" href="../../9_2/getting-started/tutorial-five-minutes.html">9.2</a> <a class="version" href="../../9_1/getting-started/tutorial-five-minutes.html">9.1</a> <a class="version is-missing" href="../../9_0/index.html">9.0</a> </div> </div> <!-- Solr Additions - Start --> <!-- Solr New File --> -<span class="perma-link-copy" version="9_2"> +<span class="perma-link-copy" version="9_3"> </span><!-- Solr Additions - End --> <div class="edit-this-page"><a href="https://github.com/apache/solr/tree/main/solr/solr-ref-guide/modules/getting-started/pages/tutorial-five-minutes.adoc">Edit this Page</a></div> </div> @@ -1109,7 +1112,7 @@ </div> <div class="listingblock"> <div class="content"> -<pre class="highlightjs highlight"><code class="language-none hljs">bin/solr -c -z localhost:9983 -p 8984</code></pre> +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">$ bin/solr -c -z localhost:9983 -p 8984</code></pre> </div> </div> </div> @@ -1122,15 +1125,13 @@ </div> <div class="listingblock"> <div class="content"> -<pre class="highlightjs highlight"><code class="language-none hljs">curl --request POST \ +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">$ curl --request POST \ --url http://localhost:8983/api/collections \ --header 'Content-Type: application/json' \ --data '{ - "create": { - "name": "techproducts", - "numShards": 1, - "replicationFactor": 1 - } + "name": "techproducts", + "numShards": 1, + "replicationFactor": 1 }'</code></pre> </div> </div> @@ -1144,7 +1145,7 @@ </div> <div class="listingblock"> <div class="content"> -<pre class="highlightjs highlight"><code class="language-none hljs">curl --request POST \ +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">$ curl --request POST \ --url http://localhost:8983/api/collections/techproducts/schema \ --header 'Content-Type: application/json' \ --data '{ @@ -1172,7 +1173,7 @@ </div> <div class="listingblock"> <div class="content"> -<pre class="highlightjs highlight"><code class="language-none hljs">curl --request POST \ +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">$ curl --request POST \ --url 'http://localhost:8983/api/collections/techproducts/update' \ --header 'Content-Type: application/json' \ --data ' { @@ -1194,7 +1195,7 @@ </div> <div class="listingblock"> <div class="content"> -<pre class="highlightjs highlight"><code class="language-none hljs">curl --request POST \ +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">$ curl --request POST \ --url 'http://localhost:8983/api/collections/techproducts/update' \ --header 'Content-Type: application/json' \ --data ' [ @@ -1231,7 +1232,7 @@ </div> <div class="listingblock"> <div class="content"> -<pre class="highlightjs highlight"><code class="language-none hljs">curl -H "Content-Type: application/json" \ +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">$ curl -H "Content-Type: application/json" \ -X POST \ -d @example/products.json \ --url 'http://localhost:8983/api/collections/techproducts/update?commit=true'</code></pre> @@ -1247,7 +1248,7 @@ </div> <div class="listingblock"> <div class="content"> -<pre class="highlightjs highlight"><code class="language-none hljs">curl -X POST -H 'Content-type: application/json' -d '{"set-property":{"updateHandler.autoCommit.maxTime":15000}}' http://localhost:8983/api/collections/techproducts/config</code></pre> +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">$ curl -X POST -H 'Content-type: application/json' -d '{"set-property":{"updateHandler.autoCommit.maxTime":15000}}' http://localhost:8983/api/collections/techproducts/config</code></pre> </div> </div> </div> Modified: sites/solr/guide/solr/latest/getting-started/tutorial-solrcloud.html URL: http://svn.apache.org/viewvc/sites/solr/guide/solr/latest/getting-started/tutorial-solrcloud.html?rev=1083697&r1=1083696&r2=1083697&view=diff ============================================================================== --- sites/solr/guide/solr/latest/getting-started/tutorial-solrcloud.html (original) +++ sites/solr/guide/solr/latest/getting-started/tutorial-solrcloud.html Fri Jul 21 18:07:42 2023 @@ -39,7 +39,7 @@ <div class="navbar-item has-dropdown is-hoverable"> <a class="navbar-link" href="#">Resources</a> <div class="navbar-dropdown"> - <a class="navbar-item" href="https://solr.apache.org/docs/9_2_1/index.html" target="_blank" rel="noreferrer nopener">Solr Javadocs</a> + <a class="navbar-item" href="https://solr.apache.org/docs/9_3_0/index.html" target="_blank" rel="noreferrer nopener">Solr Javadocs</a> <a class="navbar-item" href="https://solr.apache.org/community.html#version-control" target="_blank" rel="noreferrer nopener">Source Code</a> <a class="navbar-item" href="https://solr.apache.org/community.html" target="_blank" rel="noreferrer nopener">Community Links</a> <a class="navbar-item" href="https://github.com/apache/solr/tree/main/dev-docs/ref-guide" target="_blank" rel="noreferrer nopener">Contribute</a> @@ -56,25 +56,25 @@ </nav> </header> <div class="body"> -<div class="nav-container" data-component="solr" data-version="9_2"> +<div class="nav-container" data-component="solr" data-version="9_3"> <aside class="nav"> <div class="panels"> <!-- Solr Changes - Start --> <div class="nav-panel-explore" data-panel="explore"> <div class="context"> <span class="title">Solr Reference Guide</span> - <span class="version">9.2</span> + <span class="version">9.3</span> </div> <!-- Programmatically creates the component and version list --> <ul class="components"> <li class="component is-current"> <a class="title" href="../index.html">Solr Reference Guide</a> <ul class="versions"> - <li class="version"> - <a href="../../9_3/index.html">9.3-beta</a> - </li> <li class="version is-current is-latest"> - <a href="../index.html">9.2</a> + <a href="../index.html">9.3</a> + </li> + <li class="version"> + <a href="../../9_2/index.html">9.2</a> </li> <li class="version"> <a href="../../9_1/index.html">9.1</a> @@ -211,7 +211,7 @@ <a class="nav-link" href="tutorial-films.html">Exercise 2: Index Films Data</a> </li> <li class="nav-item" data-depth="2"> - <a class="nav-link" href="tutorial-diy.html">Exercise 3 Index Your Own Data</a> + <a class="nav-link" href="tutorial-diy.html">Exercise 3: Index Your Own Data</a> </li> <li class="nav-item is-current-page" data-depth="2"> <a class="nav-link" href="tutorial-solrcloud.html">Getting Started with SolrCloud</a> @@ -718,6 +718,9 @@ </ul> </li> <li class="nav-item" data-depth="2"> + <a class="nav-link" href="../indexing-guide/indexing-with-cbor.html">Indexing with Update CBOR data format</a> + </li> + <li class="nav-item" data-depth="2"> <a class="nav-link" href="../indexing-guide/indexing-with-tika.html">Indexing with Solr Cell and Apache Tika</a> </li> <li class="nav-item" data-depth="2"> @@ -1070,17 +1073,17 @@ </ul> </nav> <div class="page-versions"> - <button class="version-menu-toggle" title="Show other versions of page">9.2</button> + <button class="version-menu-toggle" title="Show other versions of page">9.3</button> <div class="version-menu"> - <a class="version" href="../../9_3/getting-started/tutorial-solrcloud.html">9.3-beta</a> - <a class="version is-current" href="tutorial-solrcloud.html">9.2</a> + <a class="version is-current" href="tutorial-solrcloud.html">9.3</a> + <a class="version" href="../../9_2/getting-started/tutorial-solrcloud.html">9.2</a> <a class="version" href="../../9_1/getting-started/tutorial-solrcloud.html">9.1</a> <a class="version" href="../../9_0/getting-started/tutorial-solrcloud.html">9.0</a> </div> </div> <!-- Solr Additions - Start --> <!-- Solr New File --> -<span class="perma-link-copy" version="9_2"> +<span class="perma-link-copy" version="9_3"> </span><!-- Solr Additions - End --> <div class="edit-this-page"><a href="https://github.com/apache/solr/tree/main/solr/solr-ref-guide/modules/getting-started/pages/tutorial-solrcloud.adoc">Edit this Page</a></div> </div> @@ -1155,7 +1158,7 @@ To get started, simply do:</p> </div> <div class="listingblock"> <div class="content"> -<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash">bin/solr -e cloud</code></pre> +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">$ bin/solr -e cloud</code></pre> </div> </div> <div class="paragraph"> @@ -1166,10 +1169,10 @@ To get started, simply do:</p> </div> <div class="listingblock"> <div class="content"> -<pre class="highlightjs highlight"><code class="language-plain hljs" data-lang="plain">Welcome to the SolrCloud example! +<pre>Welcome to the SolrCloud example! This interactive session will help you launch a SolrCloud cluster on your local workstation. -To begin, how many Solr nodes would you like to run in your local cluster? (specify 1-4 nodes) [2]</code></pre> +To begin, how many Solr nodes would you like to run in your local cluster? (specify 1-4 nodes) [2]</pre> </div> </div> <div class="paragraph"> @@ -1181,7 +1184,7 @@ These nodes will each exist on a single </div> <div class="listingblock"> <div class="content"> -<pre class="highlightjs highlight"><code class="language-plain hljs" data-lang="plain"> Please enter the port for node1 [8983]</code></pre> +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console"> Please enter the port for node1 [8983]</code></pre> </div> </div> <div class="paragraph"> @@ -1190,7 +1193,7 @@ The script will start each node in order </div> <div class="listingblock"> <div class="content"> -<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash">solr start -cloud -s example/cloud/node1/solr -p 8983</code></pre> +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">$ bin/solr start -cloud -s example/cloud/node1/solr -p 8983</code></pre> </div> </div> <div class="paragraph"> @@ -1202,7 +1205,7 @@ The Solr home for the first node is in < </div> <div class="listingblock"> <div class="content"> -<pre class="highlightjs highlight"><code class="language-plain hljs" data-lang="plain"> Please provide a name for your new collection: [gettingstarted]</code></pre> +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console"> Please provide a name for your new collection: [gettingstarted]</code></pre> </div> </div> <div class="paragraph"> @@ -1233,7 +1236,7 @@ This can be done as follows (assuming yo </div> <div class="listingblock"> <div class="content"> -<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash">curl http://host:8983/solr/mycollection/config -d '{"set-user-property": {"update.autoCreateFields":"false"}}'</code></pre> +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">$ curl http://host:8983/solr/mycollection/config -d '{"set-user-property": {"update.autoCreateFields":"false"}}'</code></pre> </div> </div> </div> @@ -1245,7 +1248,7 @@ This can be done as follows (assuming yo </div> <div class="listingblock"> <div class="content"> -<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash">curl http://host:8983/api/collections/mycollection/config -d '{"set-user-property": {"update.autoCreateFields":"false"}}'</code></pre> +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">$ curl http://host:8983/api/collections/mycollection/config -d '{"set-user-property": {"update.autoCreateFields":"false"}}'</code></pre> </div> </div> </div> @@ -1258,7 +1261,7 @@ To verify this, you can run the status c </div> <div class="listingblock"> <div class="content"> -<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash">bin/solr status</code></pre> +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">$ bin/solr status</code></pre> </div> </div> <div class="paragraph"> @@ -1270,7 +1273,7 @@ Solr also provides a way to perform basi </div> <div class="listingblock"> <div class="content"> -<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash">bin/solr healthcheck -c gettingstarted</code></pre> +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">$ bin/solr healthcheck -c gettingstarted</code></pre> </div> </div> <div class="paragraph"> @@ -1284,7 +1287,7 @@ Solr also provides a way to perform basi </div> <div class="listingblock"> <div class="content"> -<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash">bin/solr stop -all</code></pre> +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">$ bin/solr stop -all</code></pre> </div> </div> </div> @@ -1295,7 +1298,7 @@ Solr also provides a way to perform basi </div> <div class="listingblock"> <div class="content"> -<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash">bin/solr -e cloud -noprompt</code></pre> +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">$ bin/solr -e cloud -noprompt</code></pre> </div> </div> </div> @@ -1307,7 +1310,7 @@ For instance, to restart node1 running o </div> <div class="listingblock"> <div class="content"> -<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash">bin/solr restart -c -p 8983 -s example/cloud/node1/solr</code></pre> +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">$ bin/solr restart -c -p 8983 -s example/cloud/node1/solr</code></pre> </div> </div> <div class="paragraph"> @@ -1315,7 +1318,7 @@ For instance, to restart node1 running o </div> <div class="listingblock"> <div class="content"> -<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash">bin/solr restart -c -p 7574 -z localhost:9983 -s example/cloud/node2/solr</code></pre> +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">$ bin/solr restart -c -p 7574 -z localhost:9983 -s example/cloud/node2/solr</code></pre> </div> </div> <div class="paragraph"> @@ -1330,9 +1333,8 @@ Once you startup a SolrCloud cluster usi </div> <div class="listingblock"> <div class="content"> -<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash">mkdir <solr.home for new Solr node> -cp <existing solr.xml path> <new solr.home> -bin/solr start -cloud -s solr.home/solr -p <port num> -z <zk hosts string></code></pre> +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">$ mkdir <solr.home for new Solr node> +$ bin/solr start -cloud -s solr.home/solr -p <port num> -z <zk hosts string></code></pre> </div> </div> <div class="paragraph"> @@ -1343,8 +1345,8 @@ bin/solr start -cloud -s solr.home/solr </div> <div class="listingblock"> <div class="content"> -<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash">mkdir -p example/cloud/node3/solr -bin/solr start -cloud -s example/cloud/node3/solr -p 8987 -z localhost:9983</code></pre> +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">$ mkdir -p example/cloud/node3/solr +$ bin/solr start -cloud -s example/cloud/node3/solr -p 8987 -z localhost:9983</code></pre> </div> </div> <div class="paragraph"> Modified: sites/solr/guide/solr/latest/getting-started/tutorial-techproducts.html URL: http://svn.apache.org/viewvc/sites/solr/guide/solr/latest/getting-started/tutorial-techproducts.html?rev=1083697&r1=1083696&r2=1083697&view=diff ============================================================================== --- sites/solr/guide/solr/latest/getting-started/tutorial-techproducts.html (original) +++ sites/solr/guide/solr/latest/getting-started/tutorial-techproducts.html Fri Jul 21 18:07:42 2023 @@ -39,7 +39,7 @@ <div class="navbar-item has-dropdown is-hoverable"> <a class="navbar-link" href="#">Resources</a> <div class="navbar-dropdown"> - <a class="navbar-item" href="https://solr.apache.org/docs/9_2_1/index.html" target="_blank" rel="noreferrer nopener">Solr Javadocs</a> + <a class="navbar-item" href="https://solr.apache.org/docs/9_3_0/index.html" target="_blank" rel="noreferrer nopener">Solr Javadocs</a> <a class="navbar-item" href="https://solr.apache.org/community.html#version-control" target="_blank" rel="noreferrer nopener">Source Code</a> <a class="navbar-item" href="https://solr.apache.org/community.html" target="_blank" rel="noreferrer nopener">Community Links</a> <a class="navbar-item" href="https://github.com/apache/solr/tree/main/dev-docs/ref-guide" target="_blank" rel="noreferrer nopener">Contribute</a> @@ -56,25 +56,25 @@ </nav> </header> <div class="body"> -<div class="nav-container" data-component="solr" data-version="9_2"> +<div class="nav-container" data-component="solr" data-version="9_3"> <aside class="nav"> <div class="panels"> <!-- Solr Changes - Start --> <div class="nav-panel-explore" data-panel="explore"> <div class="context"> <span class="title">Solr Reference Guide</span> - <span class="version">9.2</span> + <span class="version">9.3</span> </div> <!-- Programmatically creates the component and version list --> <ul class="components"> <li class="component is-current"> <a class="title" href="../index.html">Solr Reference Guide</a> <ul class="versions"> - <li class="version"> - <a href="../../9_3/index.html">9.3-beta</a> - </li> <li class="version is-current is-latest"> - <a href="../index.html">9.2</a> + <a href="../index.html">9.3</a> + </li> + <li class="version"> + <a href="../../9_2/index.html">9.2</a> </li> <li class="version"> <a href="../../9_1/index.html">9.1</a> @@ -211,7 +211,7 @@ <a class="nav-link" href="tutorial-films.html">Exercise 2: Index Films Data</a> </li> <li class="nav-item" data-depth="2"> - <a class="nav-link" href="tutorial-diy.html">Exercise 3 Index Your Own Data</a> + <a class="nav-link" href="tutorial-diy.html">Exercise 3: Index Your Own Data</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="tutorial-solrcloud.html">Getting Started with SolrCloud</a> @@ -718,6 +718,9 @@ </ul> </li> <li class="nav-item" data-depth="2"> + <a class="nav-link" href="../indexing-guide/indexing-with-cbor.html">Indexing with Update CBOR data format</a> + </li> + <li class="nav-item" data-depth="2"> <a class="nav-link" href="../indexing-guide/indexing-with-tika.html">Indexing with Solr Cell and Apache Tika</a> </li> <li class="nav-item" data-depth="2"> @@ -1070,17 +1073,17 @@ </ul> </nav> <div class="page-versions"> - <button class="version-menu-toggle" title="Show other versions of page">9.2</button> + <button class="version-menu-toggle" title="Show other versions of page">9.3</button> <div class="version-menu"> - <a class="version" href="../../9_3/getting-started/tutorial-techproducts.html">9.3-beta</a> - <a class="version is-current" href="tutorial-techproducts.html">9.2</a> + <a class="version is-current" href="tutorial-techproducts.html">9.3</a> + <a class="version" href="../../9_2/getting-started/tutorial-techproducts.html">9.2</a> <a class="version" href="../../9_1/getting-started/tutorial-techproducts.html">9.1</a> <a class="version" href="../../9_0/getting-started/tutorial-techproducts.html">9.0</a> </div> </div> <!-- Solr Additions - Start --> <!-- Solr New File --> -<span class="perma-link-copy" version="9_2"> +<span class="perma-link-copy" version="9_3"> </span><!-- Solr Additions - End --> <div class="edit-this-page"><a href="https://github.com/apache/solr/tree/main/solr/solr-ref-guide/modules/getting-started/pages/tutorial-techproducts.adoc">Edit this Page</a></div> </div> @@ -1111,7 +1114,7 @@ This command has an option to run withou </div> <div class="listingblock"> <div class="content"> -<pre class="highlightjs highlight"><code class="language-none hljs">solr-9.2.1:$ ./bin/solr start -e cloud +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">$ bin/solr start -e cloud Welcome to the SolrCloud example! @@ -1126,7 +1129,7 @@ Two is what we want for this example, so </div> <div class="listingblock"> <div class="content"> -<pre class="highlightjs highlight"><code class="language-none hljs">Ok, let's start up 2 Solr nodes for your example SolrCloud cluster. +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">Ok, let's start up 2 Solr nodes for your example SolrCloud cluster. Please enter the port for node1 [8983]:</code></pre> </div> </div> @@ -1137,7 +1140,7 @@ If something is already using that port, </div> <div class="listingblock"> <div class="content"> -<pre class="highlightjs highlight"><code class="language-none hljs">Please enter the port for node2 [7574]:</code></pre> +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">Please enter the port for node2 [7574]:</code></pre> </div> </div> <div class="paragraph"> @@ -1151,11 +1154,11 @@ The script will print the commands it us </div> <div class="listingblock"> <div class="content"> -<pre class="highlightjs highlight"><code class="language-none hljs">Starting up 2 Solr nodes for your example SolrCloud cluster. +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">Starting up 2 Solr nodes for your example SolrCloud cluster. -Creating Solr home directory /solr-9.2.1/example/cloud/node1/solr -Cloning /solr-9.2.1/example/cloud/node1 into - /solr-9.2.1/example/cloud/node2 +Creating Solr home directory /solr-{solr-full-version}/example/cloud/node1/solr +Cloning /solr-{solr-full-version}/example/cloud/node1 into + /solr-{solr-full-version}/example/cloud/node2 Starting up Solr on port 8983 using command: "bin/solr" start -cloud -p 8983 -s "example/cloud/node1/solr" @@ -1182,7 +1185,7 @@ Because we are starting in SolrCloud mod </div> <div class="listingblock"> <div class="content"> -<pre class="highlightjs highlight"><code class="language-none hljs">Now let's create a new collection for indexing documents in your 2-node cluster. +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">Now let's create a new collection for indexing documents in your 2-node cluster. Please provide a name for your new collection: [gettingstarted]</code></pre> </div> </div> @@ -1194,7 +1197,7 @@ Enter <code>techproducts</code> at the p </div> <div class="listingblock"> <div class="content"> -<pre class="highlightjs highlight"><code class="language-none hljs">How many shards would you like to split techproducts into? [2]</code></pre> +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">How many shards would you like to split techproducts into? [2]</code></pre> </div> </div> <div class="paragraph"> @@ -1204,7 +1207,7 @@ Accept the default by hitting <kbd>enter </div> <div class="listingblock"> <div class="content"> -<pre class="highlightjs highlight"><code class="language-none hljs">How many replicas per shard would you like to create? [2]</code></pre> +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">How many replicas per shard would you like to create? [2]</code></pre> </div> </div> <div class="paragraph"> @@ -1213,7 +1216,7 @@ Again, the default of "2" is fine to sta </div> <div class="listingblock"> <div class="content"> -<pre class="highlightjs highlight"><code class="language-none hljs">Please choose a configuration for the techproducts collection, available options are: +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">Please choose a configuration for the techproducts collection, available options are: _default or sample_techproducts_configs [_default]</code></pre> </div> </div> @@ -1232,11 +1235,11 @@ This configset is specifically designed </div> <div class="listingblock"> <div class="content"> -<pre class="highlightjs highlight"><code class="language-none hljs">Uploading /solr-9.2.1/server/solr/configsets/_default/conf for config techproducts to ZooKeeper at localhost:9983 +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">Uploading /solr-{solr-full-version}/server/solr/configsets/_default/conf for config techproducts to ZooKeeper at localhost:9983 Connecting to ZooKeeper at localhost:9983 ... INFO - 2017-07-27 12:48:59.289; org.apache.solr.client.solrj.impl.ZkClientClusterStateProvider; Cluster at localhost:9983 ready -Uploading /solr-9.2.1/server/solr/configsets/sample_techproducts_configs/conf for config techproducts to ZooKeeper at localhost:9983 +Uploading /solr-{solr-full-version}/server/solr/configsets/sample_techproducts_configs/conf for config techproducts to ZooKeeper at localhost:9983 Creating new collection 'techproducts' using command: http://localhost:8983/solr/admin/collections?action=CREATE&name=techproducts&numShards=2&replicationFactor=2&collection.configName=techproducts @@ -1321,13 +1324,13 @@ The documents are in a mix of document f <div class="listingblock"> <div class="title">Linux/Mac</div> <div class="content"> -<pre class="highlightjs highlight"><code class="language-none hljs">solr-9.2.1:$ bin/post -c techproducts example/exampledocs/*</code></pre> +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">$ bin/post -c techproducts example/exampledocs/*</code></pre> </div> </div> <div class="listingblock"> <div class="title">Windows</div> <div class="content"> -<pre class="highlightjs highlight"><code class="language-none hljs">C:\solr-9.2.1> java -jar -Dc=techproducts -Dauto example\exampledocs\post.jar example\exampledocs\*</code></pre> +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">$ java -jar -Dc=techproducts -Dauto example\exampledocs\post.jar example\exampledocs\*</code></pre> </div> </div> <div class="paragraph"> @@ -1335,7 +1338,7 @@ The documents are in a mix of document f </div> <div class="listingblock"> <div class="content"> -<pre class="highlightjs highlight"><code class="language-none hljs">SimplePostTool version 5.0.0 +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">SimplePostTool version 5.0.0 Posting files to [base] url http://localhost:8983/solr/techproducts/update... Entering auto mode. File endings considered are xml,json,jsonl,csv,pdf,doc,docx,ppt,pptx,xls,xlsx,odt,odp,ods,ott,otp,ots,rtf,htm,html,txt,log POSTing file books.csv (text/csv) to [base] @@ -1397,7 +1400,7 @@ If you click on it, your browser will sh </div> <div class="listingblock"> <div class="content"> -<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash">curl "http://localhost:8983/solr/techproducts/select?indent=on&q=\*:*"</code></pre> +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">$ curl "http://localhost:8983/solr/techproducts/select?indent=on&q=*:*"</code></pre> </div> </div> <div class="paragraph"> @@ -1422,7 +1425,7 @@ But we can cover some of the most common </div> <div class="listingblock"> <div class="content"> -<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash">curl "http://localhost:8983/solr/techproducts/select?q=foundation"</code></pre> +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">$ curl "http://localhost:8983/solr/techproducts/select?q=foundation"</code></pre> </div> </div> <div class="paragraph"> @@ -1476,7 +1479,7 @@ Or, to specify it with curl:</p> </div> <div class="listingblock"> <div class="content"> -<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash">curl "http://localhost:8983/solr/techproducts/select?q=foundation&fl=id"</code></pre> +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">$ curl "http://localhost:8983/solr/techproducts/select?q=foundation&fl=id"</code></pre> </div> </div> <div class="paragraph"> @@ -1588,7 +1591,7 @@ For example, search for "CAS latency" by </div> <div class="listingblock"> <div class="content"> -<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash">curl "http://localhost:8983/solr/techproducts/select?q=\"CAS+latency\""</code></pre> +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">$ curl "http://localhost:8983/solr/techproducts/select?q=\"CAS+latency\""</code></pre> </div> </div> <div class="paragraph"> @@ -1657,7 +1660,7 @@ The encoding for <code>+</code> is <code </div> <div class="listingblock"> <div class="content"> -<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash">curl "http://localhost:8983/solr/techproducts/select?q=%2Belectronics%20%2Bmusic"</code></pre> +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">$ curl "http://localhost:8983/solr/techproducts/select?q=%2Belectronics%20%2Bmusic"</code></pre> </div> </div> <div class="paragraph"> @@ -1669,7 +1672,7 @@ For curl, again, URL encode <code>+</cod </div> <div class="listingblock"> <div class="content"> -<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash">curl "http://localhost:8983/solr/techproducts/select?q=%2Belectronics+-music"</code></pre> +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">$ curl "http://localhost:8983/solr/techproducts/select?q=%2Belectronics+-music"</code></pre> </div> </div> <div class="paragraph"> @@ -1698,7 +1701,7 @@ You can delete your installation and sta </div> <div class="listingblock"> <div class="content"> -<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash">bin/solr delete -c techproducts</code></pre> +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">$ bin/solr delete -c techproducts</code></pre> </div> </div> <div class="paragraph"> @@ -1706,7 +1709,7 @@ You can delete your installation and sta </div> <div class="listingblock"> <div class="content"> -<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash">bin/solr create -c <yourCollection> -s 2 -rf 2</code></pre> +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">$ bin/solr create -c <yourCollection> -s 2 -rf 2</code></pre> </div> </div> <div class="paragraph"> @@ -1714,7 +1717,7 @@ You can delete your installation and sta </div> <div class="listingblock"> <div class="content"> -<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash">bin/solr stop -all</code></pre> +<pre class="highlightjs highlight"><code class="language-console hljs" data-lang="console">$ bin/solr stop -all</code></pre> </div> </div> <div class="paragraph"> Modified: sites/solr/guide/solr/latest/how-to-contribute/how-to-contribute.html URL: http://svn.apache.org/viewvc/sites/solr/guide/solr/latest/how-to-contribute/how-to-contribute.html?rev=1083697&r1=1083696&r2=1083697&view=diff ============================================================================== --- sites/solr/guide/solr/latest/how-to-contribute/how-to-contribute.html (original) +++ sites/solr/guide/solr/latest/how-to-contribute/how-to-contribute.html Fri Jul 21 18:07:42 2023 @@ -39,7 +39,7 @@ <div class="navbar-item has-dropdown is-hoverable"> <a class="navbar-link" href="#">Resources</a> <div class="navbar-dropdown"> - <a class="navbar-item" href="https://solr.apache.org/docs/9_2_1/index.html" target="_blank" rel="noreferrer nopener">Solr Javadocs</a> + <a class="navbar-item" href="https://solr.apache.org/docs/9_3_0/index.html" target="_blank" rel="noreferrer nopener">Solr Javadocs</a> <a class="navbar-item" href="https://solr.apache.org/community.html#version-control" target="_blank" rel="noreferrer nopener">Source Code</a> <a class="navbar-item" href="https://solr.apache.org/community.html" target="_blank" rel="noreferrer nopener">Community Links</a> <a class="navbar-item" href="https://github.com/apache/solr/tree/main/dev-docs/ref-guide" target="_blank" rel="noreferrer nopener">Contribute</a> @@ -56,25 +56,25 @@ </nav> </header> <div class="body"> -<div class="nav-container" data-component="solr" data-version="9_2"> +<div class="nav-container" data-component="solr" data-version="9_3"> <aside class="nav"> <div class="panels"> <!-- Solr Changes - Start --> <div class="nav-panel-explore" data-panel="explore"> <div class="context"> <span class="title">Solr Reference Guide</span> - <span class="version">9.2</span> + <span class="version">9.3</span> </div> <!-- Programmatically creates the component and version list --> <ul class="components"> <li class="component is-current"> <a class="title" href="../index.html">Solr Reference Guide</a> <ul class="versions"> - <li class="version"> - <a href="../../9_3/index.html">9.3-beta</a> - </li> <li class="version is-current is-latest"> - <a href="../index.html">9.2</a> + <a href="../index.html">9.3</a> + </li> + <li class="version"> + <a href="../../9_2/index.html">9.2</a> </li> <li class="version"> <a href="../../9_1/index.html">9.1</a> @@ -211,7 +211,7 @@ <a class="nav-link" href="../getting-started/tutorial-films.html">Exercise 2: Index Films Data</a> </li> <li class="nav-item" data-depth="2"> - <a class="nav-link" href="../getting-started/tutorial-diy.html">Exercise 3 Index Your Own Data</a> + <a class="nav-link" href="../getting-started/tutorial-diy.html">Exercise 3: Index Your Own Data</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../getting-started/tutorial-solrcloud.html">Getting Started with SolrCloud</a> @@ -718,6 +718,9 @@ </ul> </li> <li class="nav-item" data-depth="2"> + <a class="nav-link" href="../indexing-guide/indexing-with-cbor.html">Indexing with Update CBOR data format</a> + </li> + <li class="nav-item" data-depth="2"> <a class="nav-link" href="../indexing-guide/indexing-with-tika.html">Indexing with Solr Cell and Apache Tika</a> </li> <li class="nav-item" data-depth="2"> @@ -1068,17 +1071,17 @@ </ul> </nav> <div class="page-versions"> - <button class="version-menu-toggle" title="Show other versions of page">9.2</button> + <button class="version-menu-toggle" title="Show other versions of page">9.3</button> <div class="version-menu"> - <a class="version" href="../../9_3/how-to-contribute/how-to-contribute.html">9.3-beta</a> - <a class="version is-current" href="how-to-contribute.html">9.2</a> + <a class="version is-current" href="how-to-contribute.html">9.3</a> + <a class="version" href="../../9_2/how-to-contribute/how-to-contribute.html">9.2</a> <a class="version is-missing" href="../../9_1/index.html">9.1</a> <a class="version is-missing" href="../../9_0/index.html">9.0</a> </div> </div> <!-- Solr Additions - Start --> <!-- Solr New File --> -<span class="perma-link-copy" version="9_2"> +<span class="perma-link-copy" version="9_3"> </span><!-- Solr Additions - End --> <div class="edit-this-page"><a href="https://github.com/apache/solr/tree/main/solr/solr-ref-guide/modules/how-to-contribute/pages/how-to-contribute.adoc">Edit this Page</a></div> </div> Modified: sites/solr/guide/solr/latest/index.html URL: http://svn.apache.org/viewvc/sites/solr/guide/solr/latest/index.html?rev=1083697&r1=1083696&r2=1083697&view=diff ============================================================================== --- sites/solr/guide/solr/latest/index.html (original) +++ sites/solr/guide/solr/latest/index.html Fri Jul 21 18:07:42 2023 @@ -39,7 +39,7 @@ <div class="navbar-item has-dropdown is-hoverable"> <a class="navbar-link" href="#">Resources</a> <div class="navbar-dropdown"> - <a class="navbar-item" href="https://solr.apache.org/docs/9_2_1/index.html" target="_blank" rel="noreferrer nopener">Solr Javadocs</a> + <a class="navbar-item" href="https://solr.apache.org/docs/9_3_0/index.html" target="_blank" rel="noreferrer nopener">Solr Javadocs</a> <a class="navbar-item" href="https://solr.apache.org/community.html#version-control" target="_blank" rel="noreferrer nopener">Source Code</a> <a class="navbar-item" href="https://solr.apache.org/community.html" target="_blank" rel="noreferrer nopener">Community Links</a> <a class="navbar-item" href="https://github.com/apache/solr/tree/main/dev-docs/ref-guide" target="_blank" rel="noreferrer nopener">Contribute</a> @@ -56,25 +56,25 @@ </nav> </header> <div class="body"> -<div class="nav-container" data-component="solr" data-version="9_2"> +<div class="nav-container" data-component="solr" data-version="9_3"> <aside class="nav"> <div class="panels"> <!-- Solr Changes - Start --> <div class="nav-panel-explore" data-panel="explore"> <div class="context"> <span class="title">Solr Reference Guide</span> - <span class="version">9.2</span> + <span class="version">9.3</span> </div> <!-- Programmatically creates the component and version list --> <ul class="components"> <li class="component is-current"> <a class="title" href="index.html">Solr Reference Guide</a> <ul class="versions"> - <li class="version"> - <a href="../9_3/index.html">9.3-beta</a> - </li> <li class="version is-current is-latest"> - <a href="index.html">9.2</a> + <a href="index.html">9.3</a> + </li> + <li class="version"> + <a href="../9_2/index.html">9.2</a> </li> <li class="version"> <a href="../9_1/index.html">9.1</a> @@ -211,7 +211,7 @@ <a class="nav-link" href="getting-started/tutorial-films.html">Exercise 2: Index Films Data</a> </li> <li class="nav-item" data-depth="2"> - <a class="nav-link" href="getting-started/tutorial-diy.html">Exercise 3 Index Your Own Data</a> + <a class="nav-link" href="getting-started/tutorial-diy.html">Exercise 3: Index Your Own Data</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="getting-started/tutorial-solrcloud.html">Getting Started with SolrCloud</a> @@ -718,6 +718,9 @@ </ul> </li> <li class="nav-item" data-depth="2"> + <a class="nav-link" href="indexing-guide/indexing-with-cbor.html">Indexing with Update CBOR data format</a> + </li> + <li class="nav-item" data-depth="2"> <a class="nav-link" href="indexing-guide/indexing-with-tika.html">Indexing with Solr Cell and Apache Tika</a> </li> <li class="nav-item" data-depth="2"> @@ -1068,17 +1071,17 @@ </ul> </nav> <div class="page-versions"> - <button class="version-menu-toggle" title="Show other versions of page">9.2</button> + <button class="version-menu-toggle" title="Show other versions of page">9.3</button> <div class="version-menu"> - <a class="version" href="../9_3/index.html">9.3-beta</a> - <a class="version is-current" href="index.html">9.2</a> + <a class="version is-current" href="index.html">9.3</a> + <a class="version" href="../9_2/index.html">9.2</a> <a class="version" href="../9_1/index.html">9.1</a> <a class="version" href="../9_0/index.html">9.0</a> </div> </div> <!-- Solr Additions - Start --> <!-- Solr New File --> -<span class="perma-link-copy" version="9_2"> +<span class="perma-link-copy" version="9_3"> </span><!-- Solr Additions - End --> <div class="edit-this-page"><a href="https://github.com/apache/solr/tree/main/solr/solr-ref-guide/modules/ROOT/pages/index.adoc">Edit this Page</a></div> </div> Modified: sites/solr/guide/solr/latest/indexing-guide/analysis-screen.html URL: http://svn.apache.org/viewvc/sites/solr/guide/solr/latest/indexing-guide/analysis-screen.html?rev=1083697&r1=1083696&r2=1083697&view=diff ============================================================================== --- sites/solr/guide/solr/latest/indexing-guide/analysis-screen.html (original) +++ sites/solr/guide/solr/latest/indexing-guide/analysis-screen.html Fri Jul 21 18:07:42 2023 @@ -39,7 +39,7 @@ <div class="navbar-item has-dropdown is-hoverable"> <a class="navbar-link" href="#">Resources</a> <div class="navbar-dropdown"> - <a class="navbar-item" href="https://solr.apache.org/docs/9_2_1/index.html" target="_blank" rel="noreferrer nopener">Solr Javadocs</a> + <a class="navbar-item" href="https://solr.apache.org/docs/9_3_0/index.html" target="_blank" rel="noreferrer nopener">Solr Javadocs</a> <a class="navbar-item" href="https://solr.apache.org/community.html#version-control" target="_blank" rel="noreferrer nopener">Source Code</a> <a class="navbar-item" href="https://solr.apache.org/community.html" target="_blank" rel="noreferrer nopener">Community Links</a> <a class="navbar-item" href="https://github.com/apache/solr/tree/main/dev-docs/ref-guide" target="_blank" rel="noreferrer nopener">Contribute</a> @@ -56,25 +56,25 @@ </nav> </header> <div class="body"> -<div class="nav-container" data-component="solr" data-version="9_2"> +<div class="nav-container" data-component="solr" data-version="9_3"> <aside class="nav"> <div class="panels"> <!-- Solr Changes - Start --> <div class="nav-panel-explore" data-panel="explore"> <div class="context"> <span class="title">Solr Reference Guide</span> - <span class="version">9.2</span> + <span class="version">9.3</span> </div> <!-- Programmatically creates the component and version list --> <ul class="components"> <li class="component is-current"> <a class="title" href="../index.html">Solr Reference Guide</a> <ul class="versions"> - <li class="version"> - <a href="../../9_3/index.html">9.3-beta</a> - </li> <li class="version is-current is-latest"> - <a href="../index.html">9.2</a> + <a href="../index.html">9.3</a> + </li> + <li class="version"> + <a href="../../9_2/index.html">9.2</a> </li> <li class="version"> <a href="../../9_1/index.html">9.1</a> @@ -211,7 +211,7 @@ <a class="nav-link" href="../getting-started/tutorial-films.html">Exercise 2: Index Films Data</a> </li> <li class="nav-item" data-depth="2"> - <a class="nav-link" href="../getting-started/tutorial-diy.html">Exercise 3 Index Your Own Data</a> + <a class="nav-link" href="../getting-started/tutorial-diy.html">Exercise 3: Index Your Own Data</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../getting-started/tutorial-solrcloud.html">Getting Started with SolrCloud</a> @@ -718,6 +718,9 @@ </ul> </li> <li class="nav-item" data-depth="2"> + <a class="nav-link" href="indexing-with-cbor.html">Indexing with Update CBOR data format</a> + </li> + <li class="nav-item" data-depth="2"> <a class="nav-link" href="indexing-with-tika.html">Indexing with Solr Cell and Apache Tika</a> </li> <li class="nav-item" data-depth="2"> @@ -1070,17 +1073,17 @@ </ul> </nav> <div class="page-versions"> - <button class="version-menu-toggle" title="Show other versions of page">9.2</button> + <button class="version-menu-toggle" title="Show other versions of page">9.3</button> <div class="version-menu"> - <a class="version" href="../../9_3/indexing-guide/analysis-screen.html">9.3-beta</a> - <a class="version is-current" href="analysis-screen.html">9.2</a> + <a class="version is-current" href="analysis-screen.html">9.3</a> + <a class="version" href="../../9_2/indexing-guide/analysis-screen.html">9.2</a> <a class="version" href="../../9_1/indexing-guide/analysis-screen.html">9.1</a> <a class="version" href="../../9_0/indexing-guide/analysis-screen.html">9.0</a> </div> </div> <!-- Solr Additions - Start --> <!-- Solr New File --> -<span class="perma-link-copy" version="9_2"> +<span class="perma-link-copy" version="9_3"> </span><!-- Solr Additions - End --> <div class="edit-this-page"><a href="https://github.com/apache/solr/tree/main/solr/solr-ref-guide/modules/indexing-guide/pages/analysis-screen.adoc">Edit this Page</a></div> </div> Modified: sites/solr/guide/solr/latest/indexing-guide/analyzers.html URL: http://svn.apache.org/viewvc/sites/solr/guide/solr/latest/indexing-guide/analyzers.html?rev=1083697&r1=1083696&r2=1083697&view=diff ============================================================================== --- sites/solr/guide/solr/latest/indexing-guide/analyzers.html (original) +++ sites/solr/guide/solr/latest/indexing-guide/analyzers.html Fri Jul 21 18:07:42 2023 @@ -39,7 +39,7 @@ <div class="navbar-item has-dropdown is-hoverable"> <a class="navbar-link" href="#">Resources</a> <div class="navbar-dropdown"> - <a class="navbar-item" href="https://solr.apache.org/docs/9_2_1/index.html" target="_blank" rel="noreferrer nopener">Solr Javadocs</a> + <a class="navbar-item" href="https://solr.apache.org/docs/9_3_0/index.html" target="_blank" rel="noreferrer nopener">Solr Javadocs</a> <a class="navbar-item" href="https://solr.apache.org/community.html#version-control" target="_blank" rel="noreferrer nopener">Source Code</a> <a class="navbar-item" href="https://solr.apache.org/community.html" target="_blank" rel="noreferrer nopener">Community Links</a> <a class="navbar-item" href="https://github.com/apache/solr/tree/main/dev-docs/ref-guide" target="_blank" rel="noreferrer nopener">Contribute</a> @@ -56,25 +56,25 @@ </nav> </header> <div class="body"> -<div class="nav-container" data-component="solr" data-version="9_2"> +<div class="nav-container" data-component="solr" data-version="9_3"> <aside class="nav"> <div class="panels"> <!-- Solr Changes - Start --> <div class="nav-panel-explore" data-panel="explore"> <div class="context"> <span class="title">Solr Reference Guide</span> - <span class="version">9.2</span> + <span class="version">9.3</span> </div> <!-- Programmatically creates the component and version list --> <ul class="components"> <li class="component is-current"> <a class="title" href="../index.html">Solr Reference Guide</a> <ul class="versions"> - <li class="version"> - <a href="../../9_3/index.html">9.3-beta</a> - </li> <li class="version is-current is-latest"> - <a href="../index.html">9.2</a> + <a href="../index.html">9.3</a> + </li> + <li class="version"> + <a href="../../9_2/index.html">9.2</a> </li> <li class="version"> <a href="../../9_1/index.html">9.1</a> @@ -211,7 +211,7 @@ <a class="nav-link" href="../getting-started/tutorial-films.html">Exercise 2: Index Films Data</a> </li> <li class="nav-item" data-depth="2"> - <a class="nav-link" href="../getting-started/tutorial-diy.html">Exercise 3 Index Your Own Data</a> + <a class="nav-link" href="../getting-started/tutorial-diy.html">Exercise 3: Index Your Own Data</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../getting-started/tutorial-solrcloud.html">Getting Started with SolrCloud</a> @@ -718,6 +718,9 @@ </ul> </li> <li class="nav-item" data-depth="2"> + <a class="nav-link" href="indexing-with-cbor.html">Indexing with Update CBOR data format</a> + </li> + <li class="nav-item" data-depth="2"> <a class="nav-link" href="indexing-with-tika.html">Indexing with Solr Cell and Apache Tika</a> </li> <li class="nav-item" data-depth="2"> @@ -1070,17 +1073,17 @@ </ul> </nav> <div class="page-versions"> - <button class="version-menu-toggle" title="Show other versions of page">9.2</button> + <button class="version-menu-toggle" title="Show other versions of page">9.3</button> <div class="version-menu"> - <a class="version" href="../../9_3/indexing-guide/analyzers.html">9.3-beta</a> - <a class="version is-current" href="analyzers.html">9.2</a> + <a class="version is-current" href="analyzers.html">9.3</a> + <a class="version" href="../../9_2/indexing-guide/analyzers.html">9.2</a> <a class="version" href="../../9_1/indexing-guide/analyzers.html">9.1</a> <a class="version" href="../../9_0/indexing-guide/analyzers.html">9.0</a> </div> </div> <!-- Solr Additions - Start --> <!-- Solr New File --> -<span class="perma-link-copy" version="9_2"> +<span class="perma-link-copy" version="9_3"> </span><!-- Solr Additions - End --> <div class="edit-this-page"><a href="https://github.com/apache/solr/tree/main/solr/solr-ref-guide/modules/indexing-guide/pages/analyzers.adoc">Edit this Page</a></div> </div> Modified: sites/solr/guide/solr/latest/indexing-guide/charfilterfactories.html URL: http://svn.apache.org/viewvc/sites/solr/guide/solr/latest/indexing-guide/charfilterfactories.html?rev=1083697&r1=1083696&r2=1083697&view=diff ============================================================================== --- sites/solr/guide/solr/latest/indexing-guide/charfilterfactories.html (original) +++ sites/solr/guide/solr/latest/indexing-guide/charfilterfactories.html Fri Jul 21 18:07:42 2023 @@ -39,7 +39,7 @@ <div class="navbar-item has-dropdown is-hoverable"> <a class="navbar-link" href="#">Resources</a> <div class="navbar-dropdown"> - <a class="navbar-item" href="https://solr.apache.org/docs/9_2_1/index.html" target="_blank" rel="noreferrer nopener">Solr Javadocs</a> + <a class="navbar-item" href="https://solr.apache.org/docs/9_3_0/index.html" target="_blank" rel="noreferrer nopener">Solr Javadocs</a> <a class="navbar-item" href="https://solr.apache.org/community.html#version-control" target="_blank" rel="noreferrer nopener">Source Code</a> <a class="navbar-item" href="https://solr.apache.org/community.html" target="_blank" rel="noreferrer nopener">Community Links</a> <a class="navbar-item" href="https://github.com/apache/solr/tree/main/dev-docs/ref-guide" target="_blank" rel="noreferrer nopener">Contribute</a> @@ -56,25 +56,25 @@ </nav> </header> <div class="body"> -<div class="nav-container" data-component="solr" data-version="9_2"> +<div class="nav-container" data-component="solr" data-version="9_3"> <aside class="nav"> <div class="panels"> <!-- Solr Changes - Start --> <div class="nav-panel-explore" data-panel="explore"> <div class="context"> <span class="title">Solr Reference Guide</span> - <span class="version">9.2</span> + <span class="version">9.3</span> </div> <!-- Programmatically creates the component and version list --> <ul class="components"> <li class="component is-current"> <a class="title" href="../index.html">Solr Reference Guide</a> <ul class="versions"> - <li class="version"> - <a href="../../9_3/index.html">9.3-beta</a> - </li> <li class="version is-current is-latest"> - <a href="../index.html">9.2</a> + <a href="../index.html">9.3</a> + </li> + <li class="version"> + <a href="../../9_2/index.html">9.2</a> </li> <li class="version"> <a href="../../9_1/index.html">9.1</a> @@ -211,7 +211,7 @@ <a class="nav-link" href="../getting-started/tutorial-films.html">Exercise 2: Index Films Data</a> </li> <li class="nav-item" data-depth="2"> - <a class="nav-link" href="../getting-started/tutorial-diy.html">Exercise 3 Index Your Own Data</a> + <a class="nav-link" href="../getting-started/tutorial-diy.html">Exercise 3: Index Your Own Data</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../getting-started/tutorial-solrcloud.html">Getting Started with SolrCloud</a> @@ -718,6 +718,9 @@ </ul> </li> <li class="nav-item" data-depth="2"> + <a class="nav-link" href="indexing-with-cbor.html">Indexing with Update CBOR data format</a> + </li> + <li class="nav-item" data-depth="2"> <a class="nav-link" href="indexing-with-tika.html">Indexing with Solr Cell and Apache Tika</a> </li> <li class="nav-item" data-depth="2"> @@ -1070,17 +1073,17 @@ </ul> </nav> <div class="page-versions"> - <button class="version-menu-toggle" title="Show other versions of page">9.2</button> + <button class="version-menu-toggle" title="Show other versions of page">9.3</button> <div class="version-menu"> - <a class="version" href="../../9_3/indexing-guide/charfilterfactories.html">9.3-beta</a> - <a class="version is-current" href="charfilterfactories.html">9.2</a> + <a class="version is-current" href="charfilterfactories.html">9.3</a> + <a class="version" href="../../9_2/indexing-guide/charfilterfactories.html">9.2</a> <a class="version" href="../../9_1/indexing-guide/charfilterfactories.html">9.1</a> <a class="version" href="../../9_0/indexing-guide/charfilterfactories.html">9.0</a> </div> </div> <!-- Solr Additions - Start --> <!-- Solr New File --> -<span class="perma-link-copy" version="9_2"> +<span class="perma-link-copy" version="9_3"> </span><!-- Solr Additions - End --> <div class="edit-this-page"><a href="https://github.com/apache/solr/tree/main/solr/solr-ref-guide/modules/indexing-guide/pages/charfilterfactories.adoc">Edit this Page</a></div> </div> Modified: sites/solr/guide/solr/latest/indexing-guide/content-streams.html URL: http://svn.apache.org/viewvc/sites/solr/guide/solr/latest/indexing-guide/content-streams.html?rev=1083697&r1=1083696&r2=1083697&view=diff ============================================================================== --- sites/solr/guide/solr/latest/indexing-guide/content-streams.html (original) +++ sites/solr/guide/solr/latest/indexing-guide/content-streams.html Fri Jul 21 18:07:42 2023 @@ -39,7 +39,7 @@ <div class="navbar-item has-dropdown is-hoverable"> <a class="navbar-link" href="#">Resources</a> <div class="navbar-dropdown"> - <a class="navbar-item" href="https://solr.apache.org/docs/9_2_1/index.html" target="_blank" rel="noreferrer nopener">Solr Javadocs</a> + <a class="navbar-item" href="https://solr.apache.org/docs/9_3_0/index.html" target="_blank" rel="noreferrer nopener">Solr Javadocs</a> <a class="navbar-item" href="https://solr.apache.org/community.html#version-control" target="_blank" rel="noreferrer nopener">Source Code</a> <a class="navbar-item" href="https://solr.apache.org/community.html" target="_blank" rel="noreferrer nopener">Community Links</a> <a class="navbar-item" href="https://github.com/apache/solr/tree/main/dev-docs/ref-guide" target="_blank" rel="noreferrer nopener">Contribute</a> @@ -56,25 +56,25 @@ </nav> </header> <div class="body"> -<div class="nav-container" data-component="solr" data-version="9_2"> +<div class="nav-container" data-component="solr" data-version="9_3"> <aside class="nav"> <div class="panels"> <!-- Solr Changes - Start --> <div class="nav-panel-explore" data-panel="explore"> <div class="context"> <span class="title">Solr Reference Guide</span> - <span class="version">9.2</span> + <span class="version">9.3</span> </div> <!-- Programmatically creates the component and version list --> <ul class="components"> <li class="component is-current"> <a class="title" href="../index.html">Solr Reference Guide</a> <ul class="versions"> - <li class="version"> - <a href="../../9_3/index.html">9.3-beta</a> - </li> <li class="version is-current is-latest"> - <a href="../index.html">9.2</a> + <a href="../index.html">9.3</a> + </li> + <li class="version"> + <a href="../../9_2/index.html">9.2</a> </li> <li class="version"> <a href="../../9_1/index.html">9.1</a> @@ -211,7 +211,7 @@ <a class="nav-link" href="../getting-started/tutorial-films.html">Exercise 2: Index Films Data</a> </li> <li class="nav-item" data-depth="2"> - <a class="nav-link" href="../getting-started/tutorial-diy.html">Exercise 3 Index Your Own Data</a> + <a class="nav-link" href="../getting-started/tutorial-diy.html">Exercise 3: Index Your Own Data</a> </li> <li class="nav-item" data-depth="2"> <a class="nav-link" href="../getting-started/tutorial-solrcloud.html">Getting Started with SolrCloud</a> @@ -718,6 +718,9 @@ </ul> </li> <li class="nav-item" data-depth="2"> + <a class="nav-link" href="indexing-with-cbor.html">Indexing with Update CBOR data format</a> + </li> + <li class="nav-item" data-depth="2"> <a class="nav-link" href="indexing-with-tika.html">Indexing with Solr Cell and Apache Tika</a> </li> <li class="nav-item" data-depth="2"> @@ -1070,17 +1073,17 @@ </ul> </nav> <div class="page-versions"> - <button class="version-menu-toggle" title="Show other versions of page">9.2</button> + <button class="version-menu-toggle" title="Show other versions of page">9.3</button> <div class="version-menu"> - <a class="version" href="../../9_3/indexing-guide/content-streams.html">9.3-beta</a> - <a class="version is-current" href="content-streams.html">9.2</a> + <a class="version is-current" href="content-streams.html">9.3</a> + <a class="version" href="../../9_2/indexing-guide/content-streams.html">9.2</a> <a class="version" href="../../9_1/indexing-guide/content-streams.html">9.1</a> <a class="version" href="../../9_0/indexing-guide/content-streams.html">9.0</a> </div> </div> <!-- Solr Additions - Start --> <!-- Solr New File --> -<span class="perma-link-copy" version="9_2"> +<span class="perma-link-copy" version="9_3"> </span><!-- Solr Additions - End --> <div class="edit-this-page"><a href="https://github.com/apache/solr/tree/main/solr/solr-ref-guide/modules/indexing-guide/pages/content-streams.adoc">Edit this Page</a></div> </div> @@ -1118,10 +1121,12 @@ The full POST body is parsed as parameters and included in the Solr parameters.</p> </li> <li> -<p>The contents of parameter <code>stream.body</code> is passed as a stream.</p> +<p>The contents of parameter <code>stream.body</code> is passed as a stream. +Requires <code>SOLR_ENABLE_STREAM_BODY=true</code>.</p> </li> <li> -<p>If remote streaming is enabled and URL content is called for during request handling, the contents of each <code>stream.url</code> and <code>stream.file</code> parameters are fetched and passed as a stream.</p> +<p>Each <code>stream.url</code> and <code>stream.file</code> parameters is resolved / fetched and passed as a stream. +Requires <code>SOLR_ENABLE_REMOTE_STREAMING=true</code>.</p> </li> </ul> </div> @@ -1142,52 +1147,6 @@ You could use remote streaming to send a <p>Remote streaming is disabled by default. Enabling it is not recommended in a production situation without additional security between you and untrusted remote clients.</p> </div> -<div class="paragraph"> -<p>In <code>solrconfig.xml</code>, you can enable it by changing the following <code>enableRemoteStreaming</code> parameter to <code>true</code>:</p> -</div> -<div class="listingblock"> -<div class="content"> -<pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml"> *** WARNING *** - Before enabling remote streaming, you should make sure your - system has authentication enabled. - - <requestParsers enableRemoteStreaming="false" /></code></pre> -</div> -</div> -<div class="paragraph"> -<p>When <code>enableRemoteStreaming</code> is not specified in <code>solrconfig.xml</code>, the default behavior is to <em>not</em> allow remote streaming (i.e., <code>enableRemoteStreaming="false"</code>).</p> -</div> -<div class="paragraph"> -<p>Remote streaming can also be enabled through the <a href="../configuration-guide/config-api.html" class="xref page">Config API</a> as follows:</p> -</div> -<div class="openblock dynamic-tabs"> -<div class="content"> -<div id="v1setconfigprop" class="exampleblock tab-pane"> -<div class="content"> -<div class="paragraph"> -<p><strong class="tab-label">V1 API</strong></p> -</div> -<div class="listingblock"> -<div class="content"> -<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash">curl -H 'Content-type:application/json' -d '{"set-property": {"requestDispatcher.requestParsers.enableRemoteStreaming":true}}' 'http://localhost:8983/solr/techproducts/config'</code></pre> -</div> -</div> -</div> -</div> -<div id="v2setconfigprop" class="exampleblock tab-pane"> -<div class="content"> -<div class="paragraph"> -<p><strong class="tab-label">V2 API</strong></p> -</div> -<div class="listingblock"> -<div class="content"> -<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash">curl -X POST -H 'Content-type: application/json' -d '{"set-property": {"requestDispatcher.requestParsers.enableRemoteStreaming":true}}' 'http://localhost:8983/api/collections/techproducts/config'</code></pre> -</div> -</div> -</div> -</div> -</div> -</div> <div class="admonitionblock important"> <table> <tr> @@ -1196,14 +1155,17 @@ Enabling it is not recommended in a prod </td> <td class="content"> <div class="paragraph"> -<p>If <code>enableRemoteStreaming="true"</code> is used, be aware that this allows <em>anyone</em> to send a request to any URL or local file. -If the <a href="#debugging-requests">DumpRequestHandler</a> is enabled, it will allow anyone to view any file on your system.</p> +<p>If remote streaming is used, be aware that this allows <em>anyone</em> to send a request to any URL or local file. +And with the <a href="#debugging-requests">DumpRequestHandler</a> anyone can view what Solr has access to.</p> </div> </td> </tr> </table> </div> <div class="paragraph"> +<p>Enable it with this environment variable: <code>SOLR_ENABLE_REMOTE_STREAMING=true</code></p> +</div> +<div class="paragraph"> <p>The source of the data can be compressed using gzip, and Solr will generally detect this. The detection is based on either the presence of a <code>Content-Encoding: gzip</code> HTTP header or the file ending with .gz or .gzip. Gzip doesn’t apply to <code>stream.body</code>.</p>
