rzo1 opened a new issue, #1669:
URL: https://github.com/apache/stormcrawler/issues/1669

   ### What would you like to be improved?
   
   Currently, the IndexerBolt builds the JSON document to be indexed in 
OpenSearch/Elasticsearch inside its execute() method. While this works for most 
cases, it is difficult for subclasses to extend or customize the indexed 
content without duplicating the full method.
   
   A common use case is when users define custom index mappings with additional 
top-level fields that need to be populated during indexing. At the moment, this 
requires overriding or copying large parts of the bolt, which is error-prone.
   
   ### How should we improve?
   
   Introduce a protected template / hook-up method in IndexerBolt that 
subclasses can override to customize the content of the XContentBuilder before 
the document is finalized.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to