[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] Re: Search, for partial matches

On 21/01/14 15:44, Sebastien Francois wrote:
> Perhaps your email field is of type "email" or "id" in which case an
> exact match is performed?
> Try setting the "match" parameter to "IN" in your search (match is the
> 3rd argument of ->add_field)
> Also how stuff is searched/indexed is defined in the metafield classes
> (e.g. look at MetaField/Email::get_index_codes) - look what's in your
> foo__rindex table to see what has been indexed.

Nope - of type text.
how does one create an indexed field?

{ name => "email", type => "text", required => 1, text_index => 1 }

Ian Stuart.
Developer: ORI, RJ-Broker, and OpenDepot.org
Bibliographics and Multimedia Service Delivery team,
The University of Edinburgh.


This email was sent via the University of Edinburgh.

The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.