You would have to write something that would loop through the file and then construct a Query object using the addRequired and addProhibited methods to add your terms and phrases. Then pass that into the appropriate NutchBean search method to get your results.
Dennis frgrfg gfsdgffsd wrote: > Hi all, > > As a new nutch's user, I am quite stuck regarding this: > How can I launch a search using a file containing my terms/keywords instead > of typing them in search.jsp?? > Do I have to use the Query.term class? If yes, How and where do I use this > class? > Thanks a lot! > > > Mat > > > > > > > > > ___________________________________________________________________________ > Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! > Demandez à ceux qui savent sur Yahoo! Questions/Réponses > http://fr.answers.yahoo.com > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nutch-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nutch-general
