and (conjunction operator)
The and conjunction operator combines two or more values (words, strings, dates, times or numbers) to retrieve documents that contain all specified values.
The and conjunction operator is specified with
the <and>
element. Searched values are defined as
children of <and>
.
This sample query retrieves documents that contain both Canada and children.
<?xml version="1.0" encoding="utf-16"?>
<!-- andQuery.xml -->
<query VERSION="4.5" RESULTSPACE="andQuery">
<key NAME="FullText">
<and>
<elem>Canada</elem>
<elem>children</elem>
</and>
</key>
</query>