Webboard: Section name references in PHP frontend?

[email protected] 10 Dec 2009 19:32:08 -0000
Newsgroups gmane.comp.web.mnogosearch.php-frontend
Message-ID <[email protected]>
Author: Alexander Barkov
Email: [email protected]
Message:
Hi,



<skip> 

> 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 :)





It's possible to pass any search.htm command using

udm_set_agent_param_ex(), including the "Section" command.



For example:



 $agent= udm_alloc_agent('mysql://root@localhost/mnogosearch/');



 udm_set_agent_param_ex($agent, "Section body  1 256");

 udm_set_agent_param_ex($agent, "Section title 2 256");



 $results= udm_find($agent, $query);







Reply: <http://www.mnogosearch.org/board/message.php?id=21020>