Search code examples
solrlucenesap-commerce-cloud

Index few attributes of document in hybris Solr


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.


Solution

  • 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.