1.4 Right truncation

Amberfish supports right truncated queries such as the following:

$ af -s -d mydb -q 'car*'

The query term, ‘car*’, finds all documents containing the word, ‘car’, ‘cars’, or ‘carpet’, or any other word that starts with the prefix, ‘car’. A term such as ‘s*’ will match any word that starts with the letter, ‘s’, and it may take a while for Amberfish to process; not to mention the fact that it is very likely to match every document in the database.