On Fri, 18 Aug 2006, Juan Miguel Alcarria Herrera wrote: >The first doubt: > >Imagin two sites, site1.com and site2.com > >The monday i need index only the site1.com >The rest of days site2.com > >All days of the week I need to make search in two sites.
It might make the most sense to create two separate sets of databases. Then you can perform your indexing of one site independent of the other. See http://www.htdig.org/dev/htdig-3.2/FAQ.html#q4.4. If you want to search both databases simultaneously from a single form, you can use the collection_names attribute (http://www.htdig.org/dev/htdig-3.2/attrs.html#collection_names). >The second doubt: > >How can i remove site1.com from db? >Which is the command to make this? If you use separate databases you won't need to remove one site from the database. I don't think there is any simple way to remove all URLs for a given site from a database; you would probably need to find some way to enumerate all URLs from the site you want to remove and then feed those to htpurge. Jim ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ ht://Dig general mailing list: <[email protected]> ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html List information (subscribe/unsubscribe, etc.) https://lists.sourceforge.net/lists/listinfo/htdig-general

