Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change 
notification.

The following page has been changed by GrantIngersoll:
http://wiki.apache.org/solr/AnalysisRequestHandler

------------------------------------------------------------------------------
  
  The output will look something like:
  {{{
+ <?xml version="1.0" encoding="UTF-8"?>
+ <response>
+   <lst name="responseHeader">
+     <int name="status">0</int>
+     <int name="QTime">1</int>
- <lst name="VDBDB1A16">
- <arr name="id">
-  <token start="0" end="9" positionInc="1" type="word" value="VDBDB1A16"/>
- </arr>
- 
- <arr name="name">
-  <token start="0" end="1" positionInc="1" type="word" value="a"/>
-  <token start="2" end="6" positionInc="1" type="word" value="data"/>
-  <token start="0" end="6" positionInc="0" type="word" value="adata"/>
-  <token start="7" end="8" positionInc="1" type="word" value="v"/>
-  <token start="9" end="15" positionInc="1" type="word" value="seri"/>
-  <token start="7" end="15" positionInc="0" type="word" value="vseri"/>
-  <token start="16" end="17" positionInc="1" type="word" value="1"/>
-  <token start="17" end="19" positionInc="1" type="word" value="gb"/>
-  <token start="20" end="23" positionInc="1" type="word" value="184"/>
-  <token start="24" end="27" positionInc="1" type="word" value="pin"/>
-  <token start="28" end="31" positionInc="1" type="word" value="ddr"/>
-  <token start="32" end="37" positionInc="1" type="word" value="sdram"/>
-  <token start="38" end="48" positionInc="1" type="word" value="unbuff"/>
-  <token start="49" end="52" positionInc="1" type="word" value="ddr"/>
-  <token start="53" end="56" positionInc="1" type="word" value="400"/>
-  <token start="58" end="60" positionInc="1" type="word" value="pc"/>
-  <token start="61" end="65" positionInc="1" type="word" value="3200"/>
-  <token start="67" end="73" positionInc="1" type="word" value="system"/>
-  <token start="74" end="80" positionInc="1" type="word" value="memori"/>
-  <token start="83" end="86" positionInc="1" type="word" value="oem"/>
- </arr>
- <arr name="manu">
-  <token start="0" end="1" positionInc="1" type="word" value="a"/>
-  <token start="2" end="6" positionInc="1" type="word" value="data"/>
-  <token start="0" end="6" positionInc="0" type="word" value="adata"/>
-  <token start="7" end="17" positionInc="1" type="word" value="technolog"/>
-  <token start="18" end="21" positionInc="1" type="word" value="inc"/>
- </arr>
- <arr name="cat">
-  <token start="0" end="11" positionInc="1" type="word" value="electronics"/>
- </arr>
- <arr name="cat">
-  <token start="0" end="6" positionInc="1" type="word" value="memory"/>
- </arr>
- <arr name="features">
-  <token start="0" end="3" positionInc="1" type="word" value="cas"/>
-  <token start="4" end="11" positionInc="1" type="word" value="latenc"/>
-  <token start="12" end="13" positionInc="1" type="word" value="3"/>
-  <token start="16" end="17" positionInc="1" type="word" value="2"/>
-  <token start="18" end="19" positionInc="1" type="word" value="7"/>
-  <token start="16" end="19" positionInc="0" type="word" value="27"/>
-  <token start="19" end="20" positionInc="1" type="word" value="v"/>
- </arr>
- <arr name="popularity">
-  <token start="0" end="1" positionInc="1" type="word" value="€#0;#5;"/>
- </arr>
- <arr name="inStock">
-  <token start="0" end="1" positionInc="1" type="word" value="T"/>
- </arr>
- </lst>
+   </lst>
+   <str name="WARNING">This response format is experimental. It is likely to 
change in the future.</str>
+   <lst name="response">
+     <lst name="TWINX2048-3200PRO">
+       <lst name="id">
+         <lst name="token">
+           <str name="value">TWINX2048-3200PRO</str>
+           <int name="start">0</int>
+           <int name="end">17</int>
+           <int name="posInc">1</int>
+           <str name="type">word</str>
+         </lst>
+       </lst>
+       <lst name="name">
+         <lst name="token">
+           <str name="value">corsair</str>
+           <int name="start">0</int>
+           <int name="end">7</int>
+           <int name="posInc">1</int>
+           <str name="type">word</str>
+         </lst>
+         <lst name="token">
+           <str name="value">xms</str>
+           <int name="start">9</int>
+           <int name="end">12</int>
+           <int name="posInc">1</int>
+           <str name="type">word</str>
+         </lst>
+         <lst name="token">
+           <str name="value">2</str>
+           <int name="start">13</int>
+           <int name="end">14</int>
+           <int name="posInc">1</int>
+           <str name="type">word</str>
+         </lst>
+         <lst name="token">
+           <str name="value">gb</str>
+           <int name="start">14</int>
+           <int name="end">16</int>
+           <int name="posInc">1</int>
+           <str name="type">word</str>
+         </lst>
+         <lst name="token">
+           <str name="value">2</str>
+           <int name="start">18</int>
+           <int name="end">19</int>
+           <int name="posInc">1</int>
+           <str name="type">word</str>
+         </lst>
+         <lst name="token">
+           <str name="value">x</str>
+           <int name="start">20</int>
+           <int name="end">21</int>
+           <int name="posInc">1</int>
+           <str name="type">word</str>
+         </lst>
+         <lst name="token">
+           <str name="value">1</str>
+           <int name="start">22</int>
+           <int name="end">23</int>
+           <int name="posInc">1</int>
+           <str name="type">word</str>
+         </lst>
+         <lst name="token">
+           <str name="value">gb</str>
+           <int name="start">23</int>
+           <int name="end">25</int>
+           <int name="posInc">1</int>
+           <str name="type">word</str>
+         </lst>
+         <lst name="token">
+           <str name="value">184</str>
+           <int name="start">27</int>
+           <int name="end">30</int>
+           <int name="posInc">1</int>
+           <str name="type">word</str>
+         </lst>
+         <lst name="token">
+           <str name="value">pin</str>
+           <int name="start">31</int>
+           <int name="end">34</int>
+           <int name="posInc">1</int>
+           <str name="type">word</str>
+         </lst>
+         <lst name="token">
+           <str name="value">ddr</str>
+           <int name="start">35</int>
+           <int name="end">38</int>
+           <int name="posInc">1</int>
+           <str name="type">word</str>
+         </lst>
+         <lst name="token">
+           <str name="value">sdram</str>
+           <int name="start">39</int>
+           <int name="end">44</int>
+           <int name="posInc">1</int>
+           <str name="type">word</str>
+         </lst>
+         <lst name="token">
+           <str name="value">unbuff</str>
+           <int name="start">45</int>
+           <int name="end">55</int>
+           <int name="posInc">1</int>
+           <str name="type">word</str>
+         </lst>
+         <lst name="token">
+           <str name="value">ddr</str>
+           <int name="start">56</int>
+           <int name="end">59</int>
+           <int name="posInc">1</int>
+           <str name="type">word</str>
+         </lst>
+         <lst name="token">
+           <str name="value">400</str>
+           <int name="start">60</int>
+           <int name="end">63</int>
+           <int name="posInc">1</int>
+           <str name="type">word</str>
+         </lst>
+         <lst name="token">
+           <str name="value">pc</str>
+           <int name="start">65</int>
+           <int name="end">67</int>
+           <int name="posInc">1</int>
+           <str name="type">word</str>
+         </lst>
+         <lst name="token">
+           <str name="value">3200</str>
+           <int name="start">68</int>
+           <int name="end">72</int>
+           <int name="posInc">1</int>
+           <str name="type">word</str>
+         </lst>
+         <lst name="token">
+           <str name="value">dual</str>
+           <int name="start">74</int>
+           <int name="end">78</int>
+           <int name="posInc">1</int>
+           <str name="type">word</str>
+         </lst>
+         <lst name="token">
+           <str name="value">channel</str>
+           <int name="start">79</int>
+           <int name="end">86</int>
+           <int name="posInc">1</int>
+           <str name="type">word</str>
+         </lst>
+         <lst name="token">
+           <str name="value">kit</str>
+           <int name="start">87</int>
+           <int name="end">90</int>
+           <int name="posInc">1</int>
+           <str name="type">word</str>
+         </lst>
+         <lst name="token">
+           <str name="value">system</str>
+           <int name="start">91</int>
+           <int name="end">97</int>
+           <int name="posInc">1</int>
+           <str name="type">word</str>
+         </lst>
+         <lst name="token">
+           <str name="value">memori</str>
+           <int name="start">98</int>
+           <int name="end">104</int>
+           <int name="posInc">1</int>
+           <str name="type">word</str>
+         </lst>
+         <lst name="token">
+           <str name="value">retail</str>
+           <int name="start">107</int>
+           <int name="end">113</int>
+           <int name="posInc">1</int>
+           <str name="type">word</str>
+         </lst>
+       </lst>
+     </lst>
+   </lst>
+ </response>
+ 
+ 
  }}}
  which is wrapped in various wrappers of the NamedList.  The key is that the 
<arr> tag specifies the field that is tokenized.  The top level <lst> tag name 
attribute contains the value of the field for the unique key of that document, 
in this case "VDBDB1A16".
  

Reply via email to