Skip to main content.
home | support | download

Back to List Archive

Re: [swish-e] Searching for numerics

From: at <Peter>
Date: Tue, 10 Jul 2012 09:19:45 +0100
On 09/07/12 15:05, Herman Knoops wrote:
> Without modifying Swish-e, maybe an idea to store phone numbers twice
> (assuming the phone number is in a separate field and not in the middle
> of some text). Sample of a single document in XML-format (see phone
> number digits in normal and reverse order):
>
> <engin_note>
>    <phone>00396260437</phone>
>    <phone_rev>73406269300</phone_rev>
>    <maintext>
>       some blabla
>    </maintext>
> </engin_note>
>
> If a user searches for *60437 then search the field phone_rev
> for 73406* instead of the regular phone field. Maybe a simple
> bypass to tackle phone numbers for the time being ?

Clever idea, thanks.

///Peter

_______________________________________________
Users mailing list
Users(at)not-real.lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Tue Jul 10 2012 - 08:19:53 GMT