[gen] Indexer: textual content of indexes now keep only words of more than 2 chars and other improvements.
This commit is contained in:
parent
06c656d278
commit
fd5e88928d
3 changed files with 27 additions and 18 deletions
|
@ -244,6 +244,7 @@ class ToolMixin(BaseMixin):
|
|||
# The search is triggered from an app-wide search
|
||||
klass = self.getAppyClass(className)
|
||||
fieldNames = getattr(klass, 'searchFields', None)
|
||||
if callable(fieldNames): fieldNames = fieldNames(self.appy())
|
||||
if not fieldNames:
|
||||
# Gather all the indexed fields on this class
|
||||
fieldNames = [f.name for f in self.getAllAppyTypes(className) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue