Zhou Xiang wrote on 04/02/2009 02:02 PM:
> Hi Peter,
> Thank you for your continuous help!
> One quick question, if i want to do limited search, say, search within
> "Title" or some meta fields, can i do it like this --
> Can I index all the contents in the page including the metadata in the
> source file to form one index file.
> Then i use the PHP function to limit search fields.
> If it woks, what are those PHP functions?
> The following does not work:
> // $search->set_query("test");
> // $search->set_search_limit('fpu','20020101','20020131');
> // $search->set_structure(IN_META); //limit searches to words in meta
> tags, in which meta field??
you want to set the query like:
i.e., you must specify the MetaNames you want to search within in the
Peter Karman . peter(at)not-real.peknet.com . http://peknet.com/
Users mailing list
Received on Thu Apr 2 15:05:48 2009