Hi, as far as I know Solr does not provide such a feature. If you cannot make any assumptions on the numbers, choose an appropriate library that is able to transform between numerical and non-numerical representations and populate the search field with both versions at index-time.
-Sascha Alireza Salimi <alireza.sal...@gmail.com> schrieb: Hi, Well that's the only solution I got so far and it would work for most of the cases, but l thought there might be some better solutions. Thanks On Wed, Jun 27, 2012 at 5:49 PM, Upayavira <u...@odoko.co.uk> wrote: > How many numbers? 0-9? Or every number under the sun? > > You could achieve a limited number by using synonyms, 0 is a synonym for > nought and zero, etc. > > Upayavira > > On Wed, Jun 27, 2012, at 05:22 PM, Alireza Salimi wrote: > > Hi, > > > > I was wondering if there's a built in solution in Solr so that you can > > search for documents with digits by their string representations. > > i.e. search for 'two' would match fields which have '2' token and vice > > versa. > > > > Thanks