Query By Example

You may sometimes just want to look for other documents that are like an interesting document you have already found. To perform a query by example search, you highlight information in a document youve found, copy, and paste it into the entry field in your Web form, and click the Search button.

To perform this type of search, you need a form set up by your application administrator that allows you to select the Query By Example parser.

When you use a query-by-example search, you enter standard text in the query field, rather than search terms and operators. (In fact, you cannot use Verity Query Language, with its operators and modifiers, in a query-by-example search.)

For example:


When you find a document you like, consider how that document is relevant to your needs. What words or phrases comprise a document you find interesting? If you are not sure, think bigger. Are there particular sentences or paragraphs in the document that make it interesting to you?

The query-by-example search works best when interesting words relevant to the documents you want to find are present in the sentences or paragraphs you enter.

By default, common words (such as the and for) are stripped away, and the query is built based on the more significant words (such as peace, negotiations, Middle, and East). Therefore, the results of a query-by-example search are likely to be less precise than a full-text search.


Remember that a word may also be a topic name. If the text you enter contains a topic name, it will be treated as a topic rather than a word.