lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Solr Wiki] Update of "ClusteringComponent" by YonikSeeley
Date Wed, 21 Oct 2009 18:02:02 GMT
Dear Wiki user,

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

The "ClusteringComponent" page has been changed by YonikSeeley.
The comment on this change is: correct output.
http://wiki.apache.org/solr/ClusteringComponent?action=diff&rev1=29&rev2=30

--------------------------------------------------

  
  yields the results like:
  {{{
- <lst name="clusters">
+ <arr name="clusters">
-  <int name="numClusters">6</int>
-  <lst name="cluster">
-   <lst name="labels">
- 	<str name="label">DDR</str>
-   </lst>
+  <lst>
+   <arr name="labels">
+ 	<str>DDR</str>
+   </arr>
-   <lst name="docs">
+   <arr name="docs">
- 	<str name="doc">TWINX2048-3200PRO</str>
+ 	<str>TWINX2048-3200PRO</str>
- 	<str name="doc">VS1GB400C3</str>
+ 	<str>VS1GB400C3</str>
- 	<str name="doc">VDBDB1A16</str>
+ 	<str>VDBDB1A16</str>
-   </lst>
+   </arr>
   </lst>
-  <lst name="cluster">
-   <lst name="labels">
- 	<str name="label">Car Power Adapter</str>
-   </lst>
+  <lst>
+   <arr name="labels">
+ 	<str>Car Power Adapter</str>
+   </arr>
-   <lst name="docs">
+   <arr name="docs">
- 	<str name="doc">F8V7067-APL-KIT</str>
+ 	<str>F8V7067-APL-KIT</str>
- 	<str name="doc">IW-02</str>
+ 	<str>IW-02</str>
-   </lst>
+   </arr>
   </lst>
-  <lst name="cluster">
-   <lst name="labels">
- 	<str name="label">Display</str>
-   </lst>
+  <lst>
+   <arr name="labels">
+ 	<str>Hard Drive</str>
+   </arr>
-   <lst name="docs">
+   <arr name="docs">
- 	<str name="doc">MA147LL/A</str>
- 	<str name="doc">VA902B</str>
-   </lst>
+ 	<str>SP2514N</str>
+ 	<str>6H500F0</str>
+   </arr>
   </lst>
-  <lst name="cluster">
-   <lst name="labels">
- 	<str name="label">Hard Drive</str>
-   </lst>
-   <lst name="docs">
- 	<str name="doc">SP2514N</str>
- 	<str name="doc">6H500F0</str>
-   </lst>
-  </lst>
+  <lst>
+ [...]
-  <lst name="cluster">
-   <lst name="labels">
- 	<str name="label">Retail</str>
-   </lst>
-   <lst name="docs">
- 	<str name="doc">TWINX2048-3200PRO</str>
- 	<str name="doc">VS1GB400C3</str>
-   </lst>
-  </lst>
-  <lst name="cluster">
-   <lst name="labels">
- 	<str name="label">TFT Active Matrix LCD</str>
-   </lst>
-   <lst name="docs">
- 	<str name="doc">3007WFP</str>
- 	<str name="doc">VA902B</str>
-   </lst>
-  </lst>
- </lst>
  }}}
  
  Clusters produced by Carrot2 group the results into different product categories: DDR (memory),
Car Power Adapter, Display, Hard Drive. Notice that, depending on the quality of input documents,
some clusters may not make much sense.

Mime
View raw message