Hi Pablo,

The reason clustering doesn't work with the "text" field is that the field
is not stored:

 <field name="text" type="text_general" indexed="true" stored="false"
multiValued="true"/>

For clustering to work, you'll need to keep your documents' titles and
content in stored fields.

Staszek


On Fri, Aug 12, 2011 at 10:28, Pablo Queixalos <pablo.queixa...@polyspot.com
> wrote:

> Hi,
>
>
>
>
>
> I am using solr-3.3.0 and carrot² clustering which works fine out of the
> box with the examples doc and default solr configuration (the 'features'
> Field is used as snippet).
>
>
>
> I indexed my own documents using the embed ExtractingRequestHandler wich by
> default stores contents in the 'text' Field. When configuring clustering on
> 'text' as snippet, carrot doesn't work fine and only shows 'Other topics'
> with all the documents within. It looks like carrot doesn't get the 'text'
> Field stored content.
>
>
>
>
>
> If I store the documents content in the 'features' field and get back to
> the original configuration clustering works fine.
>
>
>
> The only difference I see between 'text' and 'features' Fields in
> schema.xml is that some CopyFields are defined for 'text'.
>
>
>
>
>
> I didn't debug solr.clustering.ClusteringComponent nor
> CarrotClusteringEngine yet, but am I misunderstanding something about the
> 'text' Field ?
>
>
>
>
>
> Thanks,
>
>
>
> Pablo.
>
>

Reply via email to