Is there a way to allow the primary key to be searched? Past versions had this as default to always be searchable. Now according to the docs for teamtnt/tntsearch, the default is to not make it searchable but allows for the ability to make it searchable, if needed, using the $indexer->includePrimaryKey() method.
My workaround was to add the ID to a second key in the models toSearchableArray() method, however, it'd be nice to have a way to control this.
An example of the need for this would be looking up a student by their known ID number.
Is there a way to allow the primary key to be searched? Past versions had this as default to always be searchable. Now according to the docs for teamtnt/tntsearch, the default is to not make it searchable but allows for the ability to make it searchable, if needed, using the $indexer->includePrimaryKey() method.
My workaround was to add the ID to a second key in the models toSearchableArray() method, however, it'd be nice to have a way to control this.
An example of the need for this would be looking up a student by their known ID number.