[Egothor-tech] Filtering pages

Leo Galambos Leo.Galambos at egothor.org
Tue Sep 7 16:59:16 BST 2004


Leo Galambos wrote:

>Wojtek Kotłowski wrote:
>
>  
>
>>Hi,
>>
>>I have a problem with filtering found pages. I would like to select 
>>only those, which resides on a particular domain (or host name begins 
>>with a particular string). Is there an easy way to solve this problem?
>>    
>>
>
>this would do the job, but I didn't test it...
>  
>

Oooops, the previous patch was related to "indexing phase", you might 
mean filtering in the searching phase. If you wanted to filter a hit 
list, then you would use "virtspaces/webspaces" or something similar 
(this module inserts extra tokens according to some table). Another 
solution could be similar to Lucene's way, when it loads all metadata 
(several MB) builds a bit array for filtering and if you close a reader, 
this time-consuming process is repeated. I do not like it, but you can 
still implement it this way - see IListShadow, Runner and Rider objects 
- they have the machinery you need for this.

Cheers,
Leo

-- 
::egothor
http://www.egothor.org/Main/LeoGalambos




More information about the Egothor-tech mailing list