How to create and manage computed fields in SOLR | Community
Skip to main content
Level 2
Oct 13, 2022 2:43 AM UTC
Solved

How to create and manage computed fields in SOLR

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
HeenaMadan
HeenaMadanAccepted solution
New Participant
Oct 13, 2022 6:50 AM UTC

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.

2 replies

HeenaMadan
HeenaMadanAccepted solution
New Participant
Oct 13, 2022 6:50 AM UTC

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.

Translate
B_Sravan
New Participant
Oct 13, 2022 5:57 AM UTC

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.

Translate