[spambayes-bugs] [ spambayes-Feature Requests-796832 ] Word query should show all words starting with certain text

SourceForge.net noreply at sourceforge.net
Fri Sep 5 20:54:55 EDT 2003


Feature Requests item #796832, was opened at 2003-08-29 05:33
Message generated for change (Comment added) made by anadelonbrin
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498106&aid=796832&group_id=61702

Category: pop3proxy
Group: None
>Status: Open
Priority: 5
Submitted By: Harri Pesonen (fuerte)
Assigned to: Tony Meyer (anadelonbrin)
Summary: Word query should show all words starting with certain text 

Initial Comment:
Word query should show all words starting with certain

text if the user adds * in the end



For example: url:great*

----------------------------------------------------------------------

>Comment By: Tony Meyer (anadelonbrin)
Date: 2003-09-06 14:54

Message:
Logged In: YES 
user_id=552329

For 1.1a1, it would be good to have a separate "advanced 

find" query available (and revert the old one).  This would 

allow you to specify the maximum number of words found, and 

also allow regex searches.

----------------------------------------------------------------------

Comment By: Tony Meyer (anadelonbrin)
Date: 2003-09-02 11:30

Message:
Logged In: YES 
user_id=552329

To change it to 100, all you have to do is add one zero in 

UserInterface.py.  If lots (more than one ;) of people want 

more control over this, then I'll change it to an 'advanced' 

lookup to complement the existing one, and have options like 

this.  100 takes a long time, and results in a massive html 

page.

----------------------------------------------------------------------

Comment By: Harri Pesonen (fuerte)
Date: 2003-09-02 04:35

Message:
Logged In: YES 
user_id=778595

Thanks! A limit of 100 would have been better, though.

----------------------------------------------------------------------

Comment By: Tony Meyer (anadelonbrin)
Date: 2003-09-01 21:10

Message:
Logged In: YES 
user_id=552329

This is done, and should have just squeaked into 1.0a5.



It works as described above.  The one side-effect is that if a 

token ends with "*", then you can't search for it alone any 

more (you'll still get the result, but may also get other words, 

unless there are lots of them (see below), then you might 

not).  If this becomes a problem, then we'll have to either 

escape '*' (ugly), or have a separate 'wildcard' search.



It didn't look very good when there were too many results - 

and it could take a long time, and on this machine at least, 

crash, if there were too many.  So there's a hard limit of 10 

results that will be displayed, along with the number of results 

that matched, but aren't displayed.  If this bothers you or 

you want to increase the limit, it's a one line change that 

should be easy to find.  If people ask for it, then this can 

become an exposed option (again, probably via a special 

wildcard search).

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498106&aid=796832&group_id=61702



More information about the Spambayes-bugs mailing list