Re: [fossil-users] FOSSIL SEARCH improvement suggestion

2015-11-17 Thread Michael Keuter

Am 17.11.2015 um 17:12 schrieb Tony Papadimitriou :

> I tried it, and no, it doesn't -- I'm talking about SEARCH from the 
> command-line in case there is some misunderstanding.
> (Let alone that the "Porter Stemmer" option changed my repo from 40MB to 
> 102MB!!)

fossil search -a "scroll*" 

works fine for me

> -Original Message- From: Richard Hipp
> Sent: Tuesday, November 17, 2015 6:03 PM
> To: Fossil SCM user's discussion
> Subject: Re: [fossil-users] FOSSIL SEARCH improvement suggestion
> 
> On 11/17/15, Tony Papadimitriou  wrote:
>> 
>> So, if you’re looking for the word ‘scroll’ it won’t match ‘scrolling’ and
>> vice versa.
> 
> "scroll" should match "scrolling" if you activate the "Porter Stemmer" option

Michael

http://www.mksolutions.info




___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] FOSSIL SEARCH improvement suggestion

2015-11-17 Thread Tony Papadimitriou

This worked (and I without the Porter Stemmer 'bloat'). Thanks.

-Original Message- 
From: Michael Keuter

Sent: Tuesday, November 17, 2015 6:10 PM
To: Fossil SCM user's discussion
Subject: Re: [fossil-users] FOSSIL SEARCH improvement suggestion


Am 17.11.2015 um 17:03 schrieb Richard Hipp :


On 11/17/15, Tony Papadimitriou  wrote:


So, if you’re looking for the word ‘scroll’ it won’t match ‘scrolling’ 
and

vice versa.


"scroll" should match "scrolling" if you activate the "Porter Stemmer" 
option


Or 'scroll*' :-).

Michael

http://www.mksolutions.info




___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users 


___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] FOSSIL SEARCH improvement suggestion

2015-11-17 Thread Tony Papadimitriou
I tried it, and no, it doesn't -- I'm talking about SEARCH from the 
command-line in case there is some misunderstanding.
(Let alone that the "Porter Stemmer" option changed my repo from 40MB to 
102MB!!!)


-Original Message- 
From: Richard Hipp

Sent: Tuesday, November 17, 2015 6:03 PM
To: Fossil SCM user's discussion
Subject: Re: [fossil-users] FOSSIL SEARCH improvement suggestion

On 11/17/15, Tony Papadimitriou  wrote:


So, if you’re looking for the word ‘scroll’ it won’t match ‘scrolling’ and
vice versa.



"scroll" should match "scrolling" if you activate the "Porter Stemmer" 
option


--
D. Richard Hipp
d...@sqlite.org
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users 


___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] FOSSIL SEARCH improvement suggestion

2015-11-17 Thread Michael Keuter

Am 17.11.2015 um 17:03 schrieb Richard Hipp :

> On 11/17/15, Tony Papadimitriou  wrote:
>> 
>> So, if you’re looking for the word ‘scroll’ it won’t match ‘scrolling’ and
>> vice versa.
> 
> "scroll" should match "scrolling" if you activate the "Porter Stemmer" option

Or 'scroll*' :-).

Michael

http://www.mksolutions.info




___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] FOSSIL SEARCH improvement suggestion

2015-11-17 Thread Richard Hipp
On 11/17/15, Tony Papadimitriou  wrote:
>
> So, if you’re looking for the word ‘scroll’ it won’t match ‘scrolling’ and
> vice versa.
>

"scroll" should match "scrolling" if you activate the "Porter Stemmer" option

-- 
D. Richard Hipp
d...@sqlite.org
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] FOSSIL SEARCH improvement suggestion

2015-11-17 Thread Tony Papadimitriou
When using SEARCH you need to type the word exactly as it appears in the 
timeline.

I’m guessing it uses SQL’s LIKE to find the related matches.

So, if you’re looking for the word ‘scroll’ it won’t match ‘scrolling’ and vice 
versa.

One suggestion is to append ‘%’ to the search term to match any ending variant 
of the word.  It’s usually the ending of a word that differs.
It could also use % on either side to find the sought term inside any bigger 
word (perhaps with an option), perhaps ordering the exact matches before the 
rest.

A 2nd related suggestion (this only with the use of an option) is to use the 
SOUNDEX function to also catch sometimes misspelled words.

Thanks.___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users