Page 1 of 1
dash's in words.
Posted: Wed Mar 08, 2006 2:53 pm
by jgdoke
This query returns Zero:
reflective tape 9299
This query returns many matches:
reflective tape 92-99
Example return:
distance of most PHOTOSWITCH sensors. The 92-39 reflector has a reflective index of 100. The 92-99 reflective tape has a reflective index of 77 meaning that it will...
The content has the dash in it and I was wondering two things, If there is a way to have 9299 return matches. And if there is a way to have this query return partial matches: reflective tape 9299.
"Reflective tape" returns many matches but add that third term (that does not exist) and zero matches.
thanks
John
dash's in words.
Posted: Wed Mar 08, 2006 4:07 pm
by John
You might look at the "Ignore Characters" setting. It lists characters which should be removed from the text and query. These might be punctuation that is optional. An example might be - for part numbers, phone numbers, etc. Care should be taken not to remove important characters which you may want to delimit words.
dash's in words.
Posted: Thu Mar 09, 2006 11:48 am
by jgdoke
Does this affect the word definition? there is a dash in there
[\alnum\x80-\xff]{1,70}
[\alnum\x80-\xff.]{1,70}>>[.&']=[\alnum\x80-\xff.]{1,70}
[\alnum/\x80-\xff]{1,70}
dash's in words.
Posted: Thu Mar 09, 2006 12:45 pm
by mark
No. The dash inside [] is a range operator. \x80-\xff means \x80 through \xff
dash's in words.
Posted: Thu Feb 21, 2008 12:34 pm
by jgdoke
I have used until now the ignore character for a dash, but need to change that, Sample query "plc 5"
Needs to find any of these plc5, plc-5 or plc 5.
Just ignoring character fixed only the first two and an large issue came up with the third style.
Any ideas??
dash's in words.
Posted: Thu Feb 21, 2008 2:21 pm
by mark
Is this a controlled vocabulary? Or just any 2 random strings attached or not? If the vocabulary is controlled you might consider setting up a thesaurus to make "plc5" a synonym for "plc 5", etc.
dash's in words.
Posted: Fri Feb 22, 2008 10:06 am
by jgdoke
I have read all the documentation and cannot find out how to upload a thesaurus. figured it was like the XSL style sheet but do not find that to be true.
dash's in words.
Posted: Fri Feb 22, 2008 10:49 am
by mark
Go to Maintenance->Custom Thesaurus. There's a Help link there to the online appliance manual page
http://APPLIANCE/applianceman/custom_thesaurus.html
The file format is described at
http://www.thunderstone.com/site/texism ... ormat.html
Once you've uploaded a thesaurus you can select to use it from the profile search settings page.