queries with a dot in them

Post Reply
jgdoke
Posts: 167
Joined: Wed Jul 14, 2004 10:52 am

queries with a dot in them

Post by jgdoke »

I have users querying this
.dno
or this
*.dno

which is a file extension we provide. but the appliance is returning zero hits.

if they query dno they get many matching pages. if you look below you can see that the dot is in the text.

1. AS_PF700S_AnalogSpdRef.doc
Analog Speed Ref Drive Product PowerFlex 700S File Name for (AS) AS_PF700S_AnalogSpdRef.dno Date / Revision 11/15/2002 - 01 Attention: This document and related file(s) ...
http://www.ab.com/...pSets_PF700S/AS_PF ... SpdRef.pdf
User avatar
John
Site Admin
Posts: 2597
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH
Contact:

queries with a dot in them

Post by John »

You can add to the Word Definition to index extensions as well, e.g. adding

>>[.]=[\alnum\x80-\xff.]{1,70}

to the Word Definition setting in all walk settings.
John Turnbull
Thunderstone Software
jgdoke
Posts: 167
Joined: Wed Jul 14, 2004 10:52 am

queries with a dot in them

Post by jgdoke »

this is my word definition. It seems like the dot is part of the defintion. [.&']

[\alnum\x80-\xff]{1,70}
[\alnum\x80-\xff.]{1,70}>>[.&']=[\alnum\x80-\xff.]{1,70}
[\alnum/\x80-\xff]{1,70}

the bottom was added to include the "/" as part of a word.
User avatar
John
Site Admin
Posts: 2597
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH
Contact:

queries with a dot in them

Post by John »

The dot in the middle definition will pick up the dot in the middle of a word (e.g. domain name), but not just at the beginning.
John Turnbull
Thunderstone Software
jgdoke
Posts: 167
Joined: Wed Jul 14, 2004 10:52 am

queries with a dot in them

Post by jgdoke »

with this as my word definition how would I add your piece?
[\alnum\x80-\xff]{1,70}
[\alnum\x80-\xff.]{1,70}>>[.&']=[\alnum\x80-\xff.]{1,70}
[\alnum/\x80-\xff]{1,70}
User avatar
mark
Site Admin
Posts: 5513
Joined: Tue Apr 25, 2000 6:56 pm

queries with a dot in them

Post by mark »

Add John's expression to the bottom of the list.
harold
Posts: 35
Joined: Tue Aug 15, 2000 12:52 am

queries with a dot in them

Post by harold »

I'm trying to use Webinator 4.3 to provide a unique link to an email message in a Hypermail archive. I've told Hypermail to include the message ID in the generated page. But, if I include a dot in the Webinator query search, I get no results. Reading the above thread, I see that I need to add a word definition, but am unsure of the syntax. What would I need to add to get a hit on something like this?

63205.209.249.45.134.1017678812.squirrel@www.hallikainen.org

THANKS!

Harold
User avatar
mark
Site Admin
Posts: 5513
Joined: Tue Apr 25, 2000 6:56 pm

queries with a dot in them

Post by mark »

This should do it

[\alnum\x80-\xff.]{1,70}>>@=[\alnum\x80-\xff.]{1,70}
harold
Posts: 35
Joined: Tue Aug 15, 2000 12:52 am

queries with a dot in them

Post by harold »

That seems to be better than what I had, but I'm still not getting search results on some message IDs that are in the hypermail archive. Here's one, for example:

200206132334.g5DNYbL211526@pimout2-int.prodigy.net

I wonder if maybe the '-' is causing a problem?

THANKS!

Harold
User avatar
mark
Site Admin
Posts: 5513
Joined: Tue Apr 25, 2000 6:56 pm

queries with a dot in them

Post by mark »

The - is a phrase word separator so that's considered a 2 word phrase. The second word has . but no @ so it won't match the expression above. You may want to add an expression to handle words with embedded ..

[\alnum\x80-\xff.]{2,70}

Or you could enable post processing.
Post Reply