SOLR-311 made quoting of example curl calls work on windows

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@557739 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Chris M. Hostetter 2007-07-19 19:05:26 +00:00
parent efae9eccc7
commit e90cf40c79
3 changed files with 80 additions and 80 deletions

View File

@ -5,7 +5,7 @@
<meta content="Apache Forrest" name="Generator"> <meta content="Apache Forrest" name="Generator">
<meta name="Forrest-version" content="0.8"> <meta name="Forrest-version" content="0.8">
<meta name="Forrest-skin-name" content="pelt"> <meta name="Forrest-skin-name" content="pelt">
<title>Solr tutorial (version 1.2.2007.06.04.13.41.39)</title> <title>Solr tutorial (version 1.2.2007.07.19.12.00.35)</title>
<link type="text/css" href="skin/basic.css" rel="stylesheet"> <link type="text/css" href="skin/basic.css" rel="stylesheet">
<link media="screen" type="text/css" href="skin/screen.css" rel="stylesheet"> <link media="screen" type="text/css" href="skin/screen.css" rel="stylesheet">
<link media="print" type="text/css" href="skin/print.css" rel="stylesheet"> <link media="print" type="text/css" href="skin/print.css" rel="stylesheet">
@ -152,7 +152,7 @@ document.write("Last Published: " + document.lastModified);
</div> </div>
<div id="credit"> <div id="credit">
<hr> <hr>
This document is for Apache Solr version 1.2.2007.06.04.13.41.39. If you are using a different version of Solr, please consult the documentation that was distributed with the version you are using. This document is for Apache Solr version 1.2.2007.07.19.12.00.35. If you are using a different version of Solr, please consult the documentation that was distributed with the version you are using.
</div> </div>
<div id="roundbottom"> <div id="roundbottom">
<img style="display: none" class="corner" height="15" width="15" alt="" src="skin/images/rc-b-l-15-1body-2menu-3menu.png"></div> <img style="display: none" class="corner" height="15" width="15" alt="" src="skin/images/rc-b-l-15-1body-2menu-3menu.png"></div>
@ -174,7 +174,7 @@ document.write("Last Published: " + document.lastModified);
</div> </div>
<h1>Solr tutorial</h1> <h1>Solr tutorial</h1>
<div id="motd-area"> <div id="motd-area">
This document is for Apache Solr version 1.2.2007.06.04.13.41.39. If you are using a different version of Solr, please consult the documentation that was distributed with the version you are using. This document is for Apache Solr version 1.2.2007.07.19.12.00.35. If you are using a different version of Solr, please consult the documentation that was distributed with the version you are using.
</div> </div>
<div id="minitoc-area"> <div id="minitoc-area">
<ul class="minitoc"> <ul class="minitoc">
@ -421,7 +421,7 @@ Go ahead and edit the existing XML files to change some of the data, and re-run
are smaller, we will specify them right on the command line rather than reference an XML file. are smaller, we will specify them right on the command line rather than reference an XML file.
</p> </p>
<p>Execute the following command to delete a document</p> <p>Execute the following command to delete a document</p>
<pre class="code">java -Ddata=args -Dcommit=no -jar post.jar '&lt;delete&gt;&lt;id&gt;SP2514N&lt;/id&gt;&lt;/delete&gt;'</pre> <pre class="code">java -Ddata=args -Dcommit=no -jar post.jar "&lt;delete&gt;&lt;id&gt;SP2514N&lt;/id&gt;&lt;/delete&gt;"</pre>
<p>Now if you go to the <a href="http://localhost:8983/solr/admin/stats.jsp">statistics</a> page and scroll down <p>Now if you go to the <a href="http://localhost:8983/solr/admin/stats.jsp">statistics</a> page and scroll down
to the UPDATE_HANDLERS section and verify that "<span class="codefrag">deletesPending : 1</span>"</p> to the UPDATE_HANDLERS section and verify that "<span class="codefrag">deletesPending : 1</span>"</p>
<p>If you search for <a href="http://localhost:8983/solr/select?q=id:SP2514N">id:SP2514N</a> it will still be found, <p>If you search for <a href="http://localhost:8983/solr/select?q=id:SP2514N">id:SP2514N</a> it will still be found,
@ -432,7 +432,7 @@ Go ahead and edit the existing XML files to change some of the data, and re-run
statistics page and observe the changes in both the UPDATE_HANDLERS section and the CORE section.</p> statistics page and observe the changes in both the UPDATE_HANDLERS section and the CORE section.</p>
<p>Here is an example of using delete-by-query to delete anything with <p>Here is an example of using delete-by-query to delete anything with
<a href="http://localhost:8983/solr/select?q=name:DDR&fl=name">DDR</a> in the name:</p> <a href="http://localhost:8983/solr/select?q=name:DDR&fl=name">DDR</a> in the name:</p>
<pre class="code">java -Ddata=args -jar post.jar '&lt;delete&gt;&lt;query&gt;name:DDR&lt;/query&gt;&lt;/delete&gt;'</pre> <pre class="code">java -Ddata=args -jar post.jar "&lt;delete&gt;&lt;query&gt;name:DDR&lt;/query&gt;&lt;/delete&gt;"</pre>
<p>Commit can be a very expensive operation so it's best to make many changes to an index in a batch and <p>Commit can be a very expensive operation so it's best to make many changes to an index in a batch and
then send the commit command at the end. There is also an optimize command that does the same thing as commit, then send the commit command at the end. There is also an optimize command that does the same thing as commit,
in addition to merging all index segments into a single segment, making it faster to search and causing any in addition to merging all index segments into a single segment, making it faster to search and causing any

View File

@ -338,10 +338,10 @@ endobj
>> >>
endobj endobj
50 0 obj 50 0 obj
<< /Length 2985 /Filter [ /ASCII85Decode /FlateDecode ] << /Length 2983 /Filter [ /ASCII85Decode /FlateDecode ]
>> >>
stream stream
Gatm>lYkQ:'*%C76Ht94/o4"QhLQ[iXe"M_\X[GRJKE*l67[&"e`sE%ZtoR<qA\_=Td4O,\KFEe;W>@bRi-6r?CY7R:;35p@h!oPS-1/n%G,a]?eZ1=kE]lsC6[LUT)<p*o<UZ2rSB7WK/\_=M:nsci=@g"Pn#%ABcDuSq"Lg;/GX%ISf6dn+nb+DWAeisDo,\<MOa]cInJe??'7\tJ'BK#N/B.oo=0r>^e>6</5/uKSfur1bE4!JW\'9peW[j"PG9m9D\P3s%o82b(lQ.iN*lh-*fSGQ.MnpQN^P<`+As[Y5n(PX]]=qjnE]!3nOX3k8]o/V37K=W([(XW8%Y4NF;S[*Bj*VEq0HL`[%NN,0i'eV(8=l![**]#G7lc!AeN_h9ZJiD7kKdYs#l`(N,ie!?f$5c]!.tWZ2:c$!J-;N=9\segTXZ-2_@@1X8S[L?ARg6NJQb!EEJ!_@C`Q1UsM*#0Co6>rY_#BZn8;H1c&'?4+ThfdrKe\dG!dN72!AK]3u2W5@;'XkDRsJMjGFj]Ve_LSk#1*q<i=o+RPZ"jRZ<TPCn!4mjf9WXY1S>NH&Y4S(7aLYj6jAAh_DGGdl]I>i@c9nR1.[VXB`WVtIn:,`oN9*S*e^-W/Fa`G!(=DlheR>U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=FJ`>EZQuqc_3Y+-u;j8r!Yqn;0;Z"6^^2AUta?*`S8nb@LXUqIn].8(@/6;Rao5.=SN%XjO/h"$4U82M^aDghs_sOF`mRAF1=7n.G8.#MGV.i#^K)I)&uVqpX?foC*\<:LFW>RmZ9CP.rA7Mq1Yji8$;MnG'_"eW4#7e]tfDQU5,)XYDABTt)1#]IPi$bp?+YUuD:Xn#i4O~>
endstream endstream
endobj endobj
51 0 obj 51 0 obj
@ -979,35 +979,35 @@ endobj
xref xref
0 107 0 107
0000000000 65535 f 0000000000 65535 f
0000031435 00000 n 0000031433 00000 n
0000031535 00000 n 0000031533 00000 n
0000031627 00000 n 0000031625 00000 n
0000000015 00000 n 0000000015 00000 n
0000000071 00000 n 0000000071 00000 n
0000000872 00000 n 0000000872 00000 n
0000000992 00000 n 0000000992 00000 n
0000001087 00000 n 0000001087 00000 n
0000031767 00000 n 0000031765 00000 n
0000001222 00000 n 0000001222 00000 n
0000031830 00000 n 0000031828 00000 n
0000001358 00000 n 0000001358 00000 n
0000031896 00000 n 0000031894 00000 n
0000001495 00000 n 0000001495 00000 n
0000031962 00000 n 0000031960 00000 n
0000001632 00000 n 0000001632 00000 n
0000032026 00000 n 0000032024 00000 n
0000001768 00000 n 0000001768 00000 n
0000032090 00000 n 0000032088 00000 n
0000001905 00000 n 0000001905 00000 n
0000032156 00000 n 0000032154 00000 n
0000002041 00000 n 0000002041 00000 n
0000032220 00000 n 0000032218 00000 n
0000002177 00000 n 0000002177 00000 n
0000032284 00000 n 0000032282 00000 n
0000002314 00000 n 0000002314 00000 n
0000032350 00000 n 0000032348 00000 n
0000002451 00000 n 0000002451 00000 n
0000032416 00000 n 0000032414 00000 n
0000002588 00000 n 0000002588 00000 n
0000005151 00000 n 0000005151 00000 n
0000005274 00000 n 0000005274 00000 n
@ -1029,62 +1029,62 @@ xref
0000012758 00000 n 0000012758 00000 n
0000012995 00000 n 0000012995 00000 n
0000013188 00000 n 0000013188 00000 n
0000016266 00000 n 0000016264 00000 n
0000016389 00000 n 0000016387 00000 n
0000016479 00000 n 0000016477 00000 n
0000016670 00000 n 0000016668 00000 n
0000016868 00000 n 0000016866 00000 n
0000017072 00000 n 0000017070 00000 n
0000017268 00000 n 0000017266 00000 n
0000017472 00000 n 0000017470 00000 n
0000017687 00000 n 0000017685 00000 n
0000017908 00000 n 0000017906 00000 n
0000018123 00000 n 0000018121 00000 n
0000018354 00000 n 0000018352 00000 n
0000018548 00000 n 0000018546 00000 n
0000021564 00000 n 0000021562 00000 n
0000021687 00000 n 0000021685 00000 n
0000021812 00000 n 0000021810 00000 n
0000022032 00000 n 0000022030 00000 n
0000022251 00000 n 0000022249 00000 n
0000022483 00000 n 0000022481 00000 n
0000022702 00000 n 0000022700 00000 n
0000022934 00000 n 0000022932 00000 n
0000023153 00000 n 0000023151 00000 n
0000023367 00000 n 0000023365 00000 n
0000023589 00000 n 0000023587 00000 n
0000023826 00000 n 0000023824 00000 n
0000024047 00000 n 0000024045 00000 n
0000024262 00000 n 0000024260 00000 n
0000024452 00000 n 0000024450 00000 n
0000024639 00000 n 0000024637 00000 n
0000024852 00000 n 0000024850 00000 n
0000025049 00000 n 0000025047 00000 n
0000027254 00000 n 0000027252 00000 n
0000027377 00000 n 0000027375 00000 n
0000027432 00000 n 0000027430 00000 n
0000027660 00000 n 0000027658 00000 n
0000027902 00000 n 0000027900 00000 n
0000028162 00000 n 0000028160 00000 n
0000028587 00000 n 0000028585 00000 n
0000032480 00000 n 0000032478 00000 n
0000028759 00000 n 0000028757 00000 n
0000028898 00000 n 0000028896 00000 n
0000029076 00000 n 0000029074 00000 n
0000029271 00000 n 0000029269 00000 n
0000029454 00000 n 0000029452 00000 n
0000029677 00000 n 0000029675 00000 n
0000029842 00000 n 0000029840 00000 n
0000030065 00000 n 0000030063 00000 n
0000030195 00000 n 0000030193 00000 n
0000030419 00000 n 0000030417 00000 n
0000030614 00000 n 0000030612 00000 n
0000030767 00000 n 0000030765 00000 n
0000030881 00000 n 0000030879 00000 n
0000030992 00000 n 0000030990 00000 n
0000031101 00000 n 0000031099 00000 n
0000031208 00000 n 0000031206 00000 n
0000031325 00000 n 0000031323 00000 n
trailer trailer
<< <<
/Size 107 /Size 107
@ -1092,5 +1092,5 @@ trailer
/Info 4 0 R /Info 4 0 R
>> >>
startxref startxref
32532 32530
%%EOF %%EOF

View File

@ -216,7 +216,7 @@ Go ahead and edit the existing XML files to change some of the data, and re-run
are smaller, we will specify them right on the command line rather than reference an XML file. are smaller, we will specify them right on the command line rather than reference an XML file.
</p> </p>
<p>Execute the following command to delete a document</p> <p>Execute the following command to delete a document</p>
<source>java -Ddata=args -Dcommit=no -jar post.jar '&lt;delete>&lt;id>SP2514N&lt;/id>&lt;/delete>'</source> <source>java -Ddata=args -Dcommit=no -jar post.jar "&lt;delete>&lt;id>SP2514N&lt;/id>&lt;/delete>"</source>
<p>Now if you go to the <a href="http://localhost:8983/solr/admin/stats.jsp">statistics</a> page and scroll down <p>Now if you go to the <a href="http://localhost:8983/solr/admin/stats.jsp">statistics</a> page and scroll down
to the UPDATE_HANDLERS section and verify that "<code>deletesPending : 1</code>"</p> to the UPDATE_HANDLERS section and verify that "<code>deletesPending : 1</code>"</p>
<p>If you search for <a href="http://localhost:8983/solr/select?q=id:SP2514N">id:SP2514N</a> it will still be found, <p>If you search for <a href="http://localhost:8983/solr/select?q=id:SP2514N">id:SP2514N</a> it will still be found,
@ -227,7 +227,7 @@ Go ahead and edit the existing XML files to change some of the data, and re-run
statistics page and observe the changes in both the UPDATE_HANDLERS section and the CORE section.</p> statistics page and observe the changes in both the UPDATE_HANDLERS section and the CORE section.</p>
<p>Here is an example of using delete-by-query to delete anything with <p>Here is an example of using delete-by-query to delete anything with
<a href="http://localhost:8983/solr/select?q=name:DDR&amp;fl=name">DDR</a> in the name:</p> <a href="http://localhost:8983/solr/select?q=name:DDR&amp;fl=name">DDR</a> in the name:</p>
<source>java -Ddata=args -jar post.jar '&lt;delete>&lt;query>name:DDR&lt;/query>&lt;/delete>'</source> <source>java -Ddata=args -jar post.jar "&lt;delete>&lt;query>name:DDR&lt;/query>&lt;/delete>"</source>
<p>Commit can be a very expensive operation so it's best to make many changes to an index in a batch and <p>Commit can be a very expensive operation so it's best to make many changes to an index in a batch and
then send the commit command at the end. There is also an optimize command that does the same thing as commit, then send the commit command at the end. There is also an optimize command that does the same thing as commit,