-
Notifications
You must be signed in to change notification settings - Fork 128
Description
By defauilt all CharFields and TextFields are indexed.
You can exclude some on registration by using exclude.
Alternatively you can specify the fields that you want to have indexed, and watson will only index these fields.
I would like the possibility to keep indexing all CharFields and TextFields, but allow for extra fields to be specified on registration. For example sometimes you want to index one extra field or one field from a related model, i.e. 'parent__name'.
Currently you would have to manually list all the fields of model and then add the parent__name to the list and use this combined list at registration. There may be work around to hassle with the django meta internals, but it would be nicer to just be able to provide somthings 'extra_fields=()' on registration.