There are various search methods with spectral libraries. The method fitting the user's purpose is selected.

Definition of S/N Ratio