wt -

Support: FAQs

 

Faq ID: 835   Product: Verity Ultraseek
Bug #: N/A   Version: 3.x.x / 4.x.x
Created: 2001-00-26   OS: All
Last Updated: 2004-00-17      

Question:

How do I use a phrase in the "qp" form variable? How can I search for numbers with and without commas?

Answer

Setting the "qp" form variable to a value that includes a phrase can be tricky. For example, you may already have discovered that doing something like this in a form: 

<input type="hidden" name="qp" value="around the world">

...yields results which not only match the phrase "around the world" but also "around", "the", "world", "around the" and "the world". This is because the quotation marks surrounding "around the world" in the example above are used by HTML to determine the value of the form variable.

To enforce the phrase, you can use the HTML " on either side of your phrase:

<type="hidden" name="qp" value=""around the world"">

For numerals that may or may not contain a comma, you can insert a hyphen. 

For example, suppose the number seven hundred fifty thousand is expressed both as "750,000" and "7500000" throughout your Web site. You can match representations both with and without commas by using hyphens to force the terms to be returned adjacently within the number:

<input type="hidden" name="qp" value="750-000">

This will match documents which contain either "750000" or "750,000".

Support

Documentation

User Forums

FAQs

Resources

DOWNLOAD ULTRASEEK NOW!

Subscribe to Ultraseek Newsletter

XML   RSS Feed