Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

verity search

Status
Not open for further replies.

BKP1

Programmer
Jan 19, 2007
8
0
0
US
I use cfsearch to search the indexed word documents.
My search returns any keyword found in the document except "names" in some cases.
For example if there is a name called "Jessica Bicks" in the document, if I search by Bicks or Jessica Bicks it returns the document. But if I just search by Jessica it returns 0.
Also if there is a name called "L. Bailey" in the document, searching by Bailey or L. Bailey returns 0 records.
But if I search a name "G. Nickel" by Nickel or G. Nickel it returns that document.
can someone please help?
The code is shown below:
Using verity clean function to replace some characters.

My search code is:
<cfsearch name="GetResults"
collection="#collectionName#"
type="natural"
criteria="<WILDCARD>*#LCase(verityClean(FORM.keywords))#*"
ContextPassages="1"
ContextBytes="500"
>
 
I figured out the problem, but not the solution yet!
I am basically searching the word documents with forms in it. So if the name is in the field where back fill is enabled in the background, I can't search. If it's a plain text without back fill it can be searched.
Anybody have any idea? Please help!

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top