: I have the requirement to support searching for numbers with their : alphabetic or by digits. : For example, if we have a document with a field's value of '200', : if we search for "two hundred", that document should match. : : I haven't found anything like this yet. Do we have other option than : define the most common numbers and their string versions as : synonyms?
the lucene test-framework actualy contains a class named org.apache.lucene.util.English which can convert int->String in english text. You could try wrapping that up in a TokenFilter? -Hoss