Expand my Community achievements bar.

SOLVED

How to create and manage computed fields in SOLR

Avatar

Level 2

Can we do custom logic on indexing process to create a custom field and value?

For example, adding a custom logic to convert value from field ABC from AEM to value in field ABC1 in SOLR

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Before indexing, you can add this field in your manage_schema and refresh collection. Then do indexing by sending required page or properties to your collection. Custom Manipulation logic you need to write at index service.

View solution in original post

2 Replies

Avatar

Community Advisor

Not sure, but it would it be totally server side manipulation where you may not have much control. I would recommend amending the values before triggering the SOLR call.

Avatar

Correct answer by
Community Advisor

Before indexing, you can add this field in your manage_schema and refresh collection. Then do indexing by sending required page or properties to your collection. Custom Manipulation logic you need to write at index service.