Hi Marotosg,

you can index the phonenumber field with the ngram field type, which allows
for partial (wildcard) searches on this field. Have a look here:

http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.CommonGramsFilterFactory

Cheers,

Patrick



2012/1/19 marotosg <marot...@gmail.com>

> Hi.
> I have phone numbers in my solr schema in a field. At the moment i have
> this
> field as string.
> I would like to be able to make searches that find parts of a  phone
> number.
>
> For instance:
> Number +35384589458
>
> search by  *+35384* or search by  *84589*.
>
> Do you know if this is posible?
>
> Thanks a lot
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Searching-partial-phone-numbers-tp3671908p3671908.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>



-- 
Patrick Plaatje
Senior Consultant
<http://www.nmobile.nl/>

Reply via email to