Limit indexing to selected data

Hi,

Is it possible to limit the index to data matching a specified criteria?

Example, I have a database table with strings. I’d like to only index
the strings with a length less than 100 characters.