Added function to set min characters required to search

Added function to set min characters required to search

issue A24Group/Triage#2401