t.c
t.c

Reputation: 1257

Adding a new field to existing Solr index

I'm working with Solr 4.3.0 and I am trying to add a new field to its index.

I have added the field to xml-data-config.xml:

<field column="session_garantie" xpath="/produits/stage/sessions/session/@garantie" />

And I've added the field to schema.xml:

<field name="session_garantie" type="string" indexed="true" stored="true" multiValued="true"/>

But I still don't find my field in the query results. Why? Is there a cache I should clean?

Upvotes: 1

Views: 2129

Answers (1)

t.c
t.c

Reputation: 1257

I just rebooted the Solr Core i'm working with. Thanks .

Upvotes: 1

Related Questions