6 Jul 2012 12:19
10 Jul 2012 05:01
Re: multiword synoyms
Olly Betts <olly <at> survex.com>
2012-07-10 03:01:09 GMT
2012-07-10 03:01:09 GMT
On Fri, Jul 06, 2012 at 12:19:08PM +0200, QE :: Felix Ostmann wrote:
> I am using synoyms and cannot determine how to use them in following
> example:
>
> $db->add_synonym('Zfoobar','Zfoo Zbar')
> or
> $db->add_synonym('Zfoobar','Zfoo AND Zbar')
>
> Or is this general not possible?
You can only specify a term as a synonym, not a subquery. You can
specify multiple synonyms for the same word, but they are combined with
OP_SYNONYM (or OP_OR if you're using an older version before OP_SYNONYM
was added), not OP_AND, as you seem to want.
Cheers,
Olly
RSS Feed