diff --git a/Text/Search/Sphinx/Indexable.hs b/Text/Search/Sphinx/Indexable.hs
--- a/Text/Search/Sphinx/Indexable.hs
+++ b/Text/Search/Sphinx/Indexable.hs
@@ -51,7 +51,7 @@
 schemaField (name, TAttribute t) = sphinxEl "attr" ! [("name", name), ("type", attrType t)]
 
 attrType :: AttrType -> String
-attrType AString = "string"
+attrType AString = "str2ordinal"
 attrType AInt    = "int"
 
 text :: Element -> CData -> Element
diff --git a/sphinx.cabal b/sphinx.cabal
--- a/sphinx.cabal
+++ b/sphinx.cabal
@@ -1,5 +1,5 @@
 Name:            sphinx
-Version:         0.2
+Version:         0.2.1
 Synopsis:        Haskell bindings to the Sphinx full-text searching deamon.
 Description:     Haskell bindings to the Sphinx full-text searching deamon. This
                  module is heavily inspired by the php and python client.
