Skip to main content.
home | support | download

Back to List Archive

Re: [swish-e] partial indexing

From: Zhou Xiang <xiz407(at)not-real.gmail.com>
Date: Thu Apr 02 2009 - 20:52:48 GMT
Sorry, i will send this to the list.

It still does not work ....

On Thu, Apr 2, 2009 at 4:41 PM, Peter Karman <peter@peknet.com> wrote:

> please send to the list, not to me directly.
>
> Zhou Xiang wrote on 04/02/2009 02:47 PM:
> > Hi Peter,
> >
> > This is my PHP code:
> > -------------------------------------------
> > $word = $_GET['text'];
> > $metafield = $_GET['field'];
> > $stem = $swish->stem($word);
> > $index_names = $swish->index_names();
> > $search = $swish->new_search_object($word);
> > $search->set_query('$metafield = $word');
>
> do you need to double quote for var interpolation?
>
> > $search->set_query("$metafield = $word");
>
> --
> Peter Karman  .  peter(at)not-real.peknet.com  .  http://peknet.com/
>
> _______________________________________________
> Users mailing list
> Users@lists.swish-e.org
> http://lists.swish-e.org/listinfo/users
>


_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Thu Apr 2 16:52:48 2009