Skip to content

Commit

Permalink
fix clustering examples
Browse files Browse the repository at this point in the history
  • Loading branch information
gsingers committed Jun 10, 2012
1 parent ccbacb9 commit 26b676c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions apache-solr/solr-clustering/conf/schema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -437,9 +437,9 @@
<field name="description" type="text" indexed="true" stored="true" termVectors="true"/>
<field name="body" type="text" indexed="true" stored="false" termVectors="true"/>

<field name="title-clustering" type="text-clustering" indexed="true" stored="true" termVectors="true"/>
<field name="desc-clustering" type="text-clustering" indexed="true" stored="true" termVectors="true"/>
<field name="body-clustering" type="text-clustering" indexed="true" stored="true" termVectors="true"/>
<field name="titleclustering" type="text-clustering" indexed="true" stored="true" termVectors="true"/>
<field name="descclustering" type="text-clustering" indexed="true" stored="true" termVectors="true"/>
<field name="bodyclustering" type="text-clustering" indexed="true" stored="true" termVectors="true"/>


<!-- Catch all field -->
Expand Down Expand Up @@ -489,9 +489,9 @@ unknown fields indexed and/or stored by default -->
<copyField source="category" dest="all"/>
<copyField source="title" dest="all"/>
<copyField source="description" dest="all"/>
<copyField source="title" dest="title-clustering"/>
<copyField source="description" dest="desc-clustering"/>
<copyField source="body" dest="body-clustering"/>
<copyField source="title" dest="titleclustering"/>
<copyField source="description" dest="descclustering"/>
<copyField source="body" dest="bodyclustering"/>



Expand Down
4 changes: 2 additions & 2 deletions apache-solr/solr-clustering/conf/solrconfig.xml
Original file line number Diff line number Diff line change
Expand Up @@ -504,9 +504,9 @@
<str name="clustering.engine">default</str>
<bool name="clustering.results">true</bool>
<!-- The title field -->
<str name="carrot.title">title-clustering</str>
<str name="carrot.title">title</str>
<!-- The field to cluster on -->
<str name="carrot.snippet">desc-clustering</str>
<str name="carrot.snippet">description</str>
<str name="carrot.url">link</str>
<!-- produce summaries -->
<bool name="carrot.produceSummary">false</bool>
Expand Down
4 changes: 2 additions & 2 deletions apache-solr/solr-tagging/conf/solrconfig.xml
Original file line number Diff line number Diff line change
Expand Up @@ -504,9 +504,9 @@
<str name="clustering.engine">default</str>
<bool name="clustering.results">true</bool>
<!-- The title field -->
<str name="carrot.title">title-clustering</str>
<str name="carrot.title">title</str>
<!-- The field to cluster on -->
<str name="carrot.snippet">desc-clustering</str>
<str name="carrot.snippet">desc</str>
<str name="carrot.url">link</str>
<!-- produce summaries -->
<bool name="carrot.produceSummary">false</bool>
Expand Down

0 comments on commit 26b676c

Please sign in to comment.