1
votes

We have around 100k products in our website and each product have around 30 attributes which are indexed. Most of the time we only update price of products but we still have to index the whole product. Is it possible in hybris to index only the price attribute(or description attribute) of all 100k products.

2

2 Answers

1
votes

It is possible since Solr 4.0. This feature is called partial update, where you can update only the fields changed, in your case, price and description. The official documentation is here.

1
votes

Marco is right. You can do a Partial Update.

For Hybris, there is some documentation is in Creating and Configuring Indexed Types. SolrIndexerQuery.type attribute lets you choose partial_update.

You have the following values to choose from:
FULL: recreates the index
UPDATE: updates some documents in the index
PARTIAL_UPDATE: allows you to select the fields for the update
DELETE: deletes documents from the index

enter image description here