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

Search Methods of Libraries