[turba] Composite fields

Richard Heggs richard.heggs at nottinghamcity.gov.uk
Fri Nov 21 01:50:54 PST 2003


Quoting Chuck Hagenbuch <chuck () horde ! org>:

>It is searchable. By "not searchable", what exactly do you mean? Did you
>put the
>'name' field into the search() array further down in your source config?
>

Sorry, now I have read what I wrote, I realise that it is rather vague.  I
plead a temporary dip in my caffeine levels.

It is searchable in that I can select it as the search field.  However, it
yields no results.  Example:

    'map' => array(
        '__key' => 'dn',
        'name' => array('fields' => array('forename', 'surname'),
                        'format' => '%s %s'),
        'email' => 'alias',
        'surname' => 'sn',
        'forename' => 'givenName',
        'homePhone' => 'homephone',
        'workPhone' => 'telephonenumber',
        'cellPhone' => 'mobiletelephonenumber',
        'homeAddress' => 'homepostaladdress'
    ),
    'search' => array(
        'name',
        'surname',
        'forename',
        'organisation',
        'email',
        'alias'
    ),

Then...
Search 'name' for 'heggs'
No result.
Search 'surname' for 'heggs'
Success.  I exist.

However, when searching or browsing, the 'name' field is constructed
correctly.

--
Richard Heggs
Systems Analyst
Nottingham City Council

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


######################################################################
This e-mail (and any attachments) is confidential and may contain personal
views which are not the views of Nottingham City Council unless specifically
stated. If you have received it in error, please delete it from your system,
do not use, copy or disclose the information in any way nor act in reliance
on it and notify the sender immediately. Please note that Nottingham City
Council monitors e-mails sent or received. Further communication will
signify your consent to this.
######################################################################


More information about the turba mailing list