Searching for emailds give post processing errors

Texis User
Posts: 74
Joined: Thu Jul 13, 2006 8:47 am

Searching for emailds give post processing errors

Post by Texis User »

Hi,

I went through the documentation and the MessageBoard did following steps for enabling emailId search.

1.

drop existing indexes

2.

set delexp=0;
set addexp='\alnum{1,30}';
set addexp='\digit=[\digit\.+]{1,30}';
set addexp='[\alnum\x80-\xff]{1,30}';
set addexp='>>\alnum=[\alnum+/\_&#@\x25\x36]{1,30}';

3.
recreate indexes.

Yet when I search for email Ids that have @ . or _ I get these errors

Query `abc.abc@ge.com' would require post-processing: Term `abc.abc@ge.com' only partially matches index expression(s).

Any clues?
User avatar
John
Site Admin
Posts: 2624
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH

Searching for emailds give post processing errors

Post by John »

It looks as if you are not including '.' in your final index expression, which might otherwise match.
John Turnbull
Thunderstone Software
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Searching for emailds give post processing errors

Post by mark »

A couple other observations...
Your digit expression should be
set addexp='>>\digit=[\digit\.+]{1,30}';
Are you sure you want to be including plus, "+", in that expression.
In your email expression I don't think you meant \x36 since that's just the digit 6 which is covered by alnum. And 30 may be a bit short for emails.
Texis User
Posts: 74
Joined: Thu Jul 13, 2006 8:47 am

Searching for emailds give post processing errors

Post by Texis User »

ok
SO now this is what I run:

set delexp=0;
set addexp='\alnum{1,99}';
set addexp='>>\digit=[\digit\.+]{1,99}';
set addexp='[\alnum\x80-\xff]{1,99}';
set addexp='>>\alnum=[\alnum+/\_&#@.\x25]{1,99}';

Yet I see these errors

115 2006-07-27 04:45:02 /webinator/SCProfileSearch:191: Query `salim.kadiwar@g*' would require post-processing: Term `salim.kadiwar@g*' only partially matches index expression(s)
Texis User
Posts: 74
Joined: Thu Jul 13, 2006 8:47 am

Searching for emailds give post processing errors

Post by Texis User »

Hi,
I observed Something strange thing. When I search for say 5012 swetha I see some reults.

When I search for 501 swetha I see result but swetha record is not there.

When I search for 50 swetha I see no results.

No errors logged in vortex log for it...any idea?
User avatar
John
Site Admin
Posts: 2624
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH

Searching for emailds give post processing errors

Post by John »

Is that just a substring problem? 501 does not match 5012.
John Turnbull
Thunderstone Software
Texis User
Posts: 74
Joined: Thu Jul 13, 2006 8:47 am

Searching for emailds give post processing errors

Post by Texis User »

no its not.
but 501 is subset of 5012
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Searching for emailds give post processing errors

Post by mark »

Did you drop and recreate the index after you changed your index expressions? Index expressions are only respected on creation and the ones used to create are always used to update regardless of settings.
Texis User
Posts: 74
Joined: Thu Jul 13, 2006 8:47 am

Searching for emailds give post processing errors

Post by Texis User »

yes did I missed that this time ..thank you

Any clue on the second issue...
User avatar
John
Site Admin
Posts: 2624
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH

Searching for emailds give post processing errors

Post by John »

The search does not do substring unless you add *,
you would need to search for 501* swetha
John Turnbull
Thunderstone Software