diff --git a/lib/nominatim/search.rb b/lib/nominatim/search.rb
index <HASH>..<HASH> 100644
--- a/lib/nominatim/search.rb
+++ b/lib/nominatim/search.rb
@@ -149,5 +149,23 @@ module Nominatim
       self
     end
 
+    # Limit results to certain type, instead of trying to match
+    # all possible matches.
+    #
+    # Possible values:
+    # - settlement
+    # - country
+    # - city
+    # - state
+    #
+    # This feature is not in official Nominatim documentation.
+    #
+    # @param type Type to restrict to
+    # @return [Nominatim::Search]
+    def featuretype(type)
+      @criteria[:featuretype] = type
+      self
+    end
+
   end
 end
Added undocumented criteria featuretype to Search.

This allows restriction by certain area feature, like city,
so results from another city specified in the query won’t
be mixed to the result. For some reason this feature is not
documented in public API doc of Nominatim.