Webboard: Section name references in PHP frontend?
[email protected] 4 Dec 2009 13:43:35 -0000
| Newsgroups | gmane.comp.web.mnogosearch.php-frontend |
|---|---|
| Message-ID | <[email protected]> |
Author: nakolah Email: Message: You can do something approaching using udm_parse_query_string() (depending on your api version). <?php // parse user query string, searching for search parameters udm_parse_query_string($udm_agent,$_SERVER['QUERY_STRING']); // search query keyword $res = udm_find($udm_agent,$query); ?> you have to pass sl.* parameter into query string to restrict query. Example: mypage.php?q=somekeyword&sl.title=%restrictedkeyword% You'll find more information about sl.* parameter here : http://www.mnogosearch.org/doc33/msearch-doingsearch.html#search- params Sadly, I still didn't manage to use the "title:xxxx body:xxxxx" syntax... if somebody knows how to do it ? (Your message is old but I guess this information will be usefull for somebody, as the documentation is not really up to date :) Reply: <http://www.mnogosearch.org/board/message.php?id=21007>