[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [MISC] Disk IO?



I sslug.misc, skrev Thorbjørn Ravn Andersen:
>  Hvad er det for et konkret problem du ønsker at løse?

Konkret, så er det ikke, men det "kunne være" sslug's emailarkiv, jeg
ville have ultragode søgemuligheder på. 

Jeg ville tage hver mail, antage at MessageID er globalt unikt på hele
arkivet, gemme mailsene i

/a/b/c/e/d/c/a/f/afdasdfasfdfds
Hvor messageid så er ovenstående uden "/". 

Så vil jeg lave ordbaseret fuldtekstsøgning på den. Dvs. jeg ekstrahere
alle ord fra beskederne og når "linux" indgår, så  laver jeg en fil:

/l/i/n/u/x
Der indeholder messageid'et på den besked der holder ordet linux. 

Dette burde give et ret hurtigt opslag på baggrund af de specialiserede
index. .. vi har 2-3 block-reads for at finde alle beskeder med "linux"
i. 

Men hvor lang skal man gå.. lave en fil med

/l/i/n/ux
og i filen 
ux have
linux
linuxkerne
linuxfilsystem
linuxprogram 
etc. etc. 

eller splitte den op så der kun er 1 fil pr. nøgleord... 

.. hvis man skulle lade tanken gå ud, så skulle man have en måde at
registrere trådningen på også. .. det er vist lidt mere tricky. 

Jesper

-- 
./Jesper Krogh, sslug@sslug, Jabber ID: sslug@sslug



 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 19:50 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *