I want FTS to search entity (UUID based persistent entity that extends StandardEntity) by its id (uuid).
Although in fts.xml, search pattern says re=".*" search based on UUID just does not work. I also tried including and here id is auto suggested by Intellij IDE only. But search on id still don’t work.
Hi,
By default, system properties (like id, version, createTs, etc are not indexed by FTS). If you need to change this behavior, you can override the com.haulmont.fts.core.sys.ConfigLoader bean and its isSearchableProperty(…) method.
I’ve attempted to get this working by creating a new bean and extending ConfigLoader, then I recreated the isSearchableProperty method with the @Override annotation, and then change the system properties section to return true, but the app fails to load the login screen and says that core module failed to start. Am I doing this all wrong, or have I simply missed a step?
Thank you Max. I really appreciate the example. It appears I was including the standard pieces when creating a new bean like the @Component annotation. Somewhere along the way it got in the way of the file functioning correctly. Thanks again!