You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue 32186 experiments variants not indexing (dotCMS#32195)
This pull request introduces several logging enhancements and minor
functional updates across multiple classes to improve debugging and
ensure better traceability of operations. The most notable changes
include adding detailed debug logs to key methods, refining error
handling during content publishing, and enforcing index policies in
content versioning.
### Logging Enhancements:
* Added extensive debug logging in `search` to trace query parameters,
intermediate results, and final outputs in `ESContentletAPIImpl.java`.
* Introduced debug logs in `getAllContentByVariants` to log variant
queries and search results in `ESContentletAPIImpl.java`.
* Enhanced logging in `publishContentOnExperimentVariants` to log
variant processing and publishing details in `ExperimentsAPIImpl.java`.
* Added debug logs to track the lifecycle of experiments, including
saving, cache cleaning, and content publishing in `innerStart` of
`ExperimentsAPIImpl.java`.
### Functional Updates:
* Improved error handling in the `publish` method by catching generic
exceptions and logging the issue in `ESContentletAPIImpl.java`.
* Enforced `IndexPolicy.FORCE` during content version creation to ensure
consistent indexing in `PageResourceHelper.java`.
### Minor Update:
* Added an import for `IndexPolicy` in `PageResourceHelper.java` to
support the new indexing functionality.
0 commit comments