Skip to content
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.

Change Tracker: check if changed field is indexed in case of directly indexed entity #71

Closed
Gavrilov-Ivan opened this issue Jul 7, 2021 · 1 comment
Assignees
Milestone

Comments

@Gavrilov-Ivan
Copy link
Contributor

Gavrilov-Ivan commented Jul 7, 2021

Change tracker should enqueue items for indexed entity only if change event contains indexed field (as in case of searching for dependent entities)

Testing:

  1. Disable automatic processing of indexing query (jmix.search.useDefaultIndexingQueueProcessingQuartzConfiguration=false)
  2. Create entity with 2 text fields
  3. Create Index Definition for this entity that includes only one of fields
  4. Create instance of entity, fill both fields
  5. Process indexing queue via JMX console (processEntireIndexingQueue()) - result should contain message about N (more than zero) processed items
  6. Update not-indexed field on entity
  7. Process indexing queue via JMX console again - result should contain message about 0 processed items
@Gavrilov-Ivan Gavrilov-Ivan added this to the 1.1.0 milestone Jul 7, 2021
@Gavrilov-Ivan Gavrilov-Ivan self-assigned this Jul 7, 2021
Gavrilov-Ivan added a commit that referenced this issue Oct 20, 2021
… indexed entity (release 1.1) #71

(cherry picked from commit 298b745)
@maistrenkoIulia
Copy link

verified

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants