EPrints Technical Mailing List Archive

Message: #00928


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Re: Searching in EP3.2


On Wed, 2012-08-08 at 13:57 +0100, Ian Stuart wrote:
> On 08/08/12 12:33, Tim Brody wrote:
> > On Wed, 2012-08-08 at 11:14 +0100, Ian Stuart wrote:
> >> Confused here.... I'm trying to restrict a search, and it's returning 0
> >> results when it should return 19:
> >>
> >>     $searchexp2->add_field($dsd->get_field("field3"), 'Foo bar');
> >
> > Does that need an EQ ANY?
> 
> It's a single match on a 7-character string...
> 
> For example, this could be
> 
>    $searchexp2->add_field($dsd->get_field("creator_institution"), 
> 'University of Southampton');
> 
> I would expect this to be a singular, complete, match....
> 

Then 'EX' ? Otherwise that may (depending on the field) default to 'EQ
ALL' (=University AND =of AND =Southampton ...).

/Tim.

Attachment: signature.asc
Description: This is a digitally signed message part