php-doc-en/reference/hwapi/functions/hwapi-find.xml

53 lines
2.1 KiB
XML
Raw Normal View History

<?xml version='1.0' encoding='iso-8859-1' ?>
<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/hwapi.xml, last change in rev 1.1 -->
<refentry id="function.hwapi-find">
<refnamediv>
<refname>hw_api->find</refname>
<refpurpose>Recherche des objets</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>array</type><methodname>find</methodname>
<methodparam><type>array</type><parameter>parameter</parameter></methodparam>
</methodsynopsis>
<para>
<function>hw_api->find</function> recherche des objets gr&acirc;ce &agrave;
leur cl&eacute; d'ex&eacute;cution et/ou gr&acirc;ce &agrave; une requ&ecirc;te en texte plein. Les
objets trouv&eacute;s peuvent alors &ecirc;tre filtr&eacute;s &agrave; nouveau par une requ&ecirc;te
optionnelle. Les objets sont tri&eacute;s par importance. La seconde
op&eacute;ration de recherche est relativement lente, et ses r&eacute;sultats peuvent
&ecirc;tre limit&eacute;s &agrave; certaines valeurs. Cela permet de r&eacute;aliser des recherches
incr&eacute;mentales, chacune retournant un sous ensemble de tous les
documents trouv&eacute;s, en partant d'un index donn&eacute;. Le param&egrave;tre
<parameter>parameter</parameter> est un tableau qui contient les
&eacute;l&eacute;ments obligatoires 'objectquery', 'scope', 'lanugages' et
'attributeselector'. En cas de recherche incr&eacute;mentale, les &eacute;l&eacute;ments
optionnels 'startIndex', 'numberOfObjectsToGet' et 'exactMatchUnit'
peuvent aussi &ecirc;tre pass&eacute;s.
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->