(no version information, might be only in CVS)SwishSearch->setStructure -- Set the structure flag in the search object
This function is EXPERIMENTAL. The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP. Use this function at your own risk.
The structure flag a bitmask is used to limit search to certain parts of HTML documents (like title, meta, body etc.). Its possible values are listed below. To combine several values use bitwise OR operator, see example below.
Example 1. Basic SwishSearch->setStructure() example
The above example will output something similar to: