[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: lists.debian.org/search.html nie działa poprawnie?



On Sat, 23 Jun 2001 11:28:34 +0200, Piotr Krukowiecki wrote:
> Szukanie np.
> experimental;postgresql
> w debian-user zwraca 3 rezultaty.
> 
> Szukanie 
> experimental;postgres.*
> zwraca 0, co w.g mnie nie jest poprawne. 
> Czy to ja robię coś nie tak, czy to wina systemu ?

Wygląda to na "feature" glimpse'a.
http://lists.debian.org/glimpse.html:
   Since the index is word based, a regular expression must match words that appear in the index for glimpse to find it.
   Glimpse first strips the regular expression from all non-alphabetic characters, and searches the index for all remaining
   words. It then applies the regular expression matching algorithm to the files found in the index. For example, glimpse
   `abc.*xyz' will search the index for all files that contain both `abc' and `xyz', and then search directly for `abc.*xyz'
   in those files. (If you use glimpse -w `abc.*xyz', then `abcxyz' will not be found, because glimpse will think that abc
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   and xyz need to be matches to whole words.)

-- 
Michał Politowski -- mpol@lab.icm.edu.pl
Warning: this is a memetically modified message



Reply to: