One difference you'll want is to change the plugin.xml file so that your query filter gets used just for the fields you're interested in. Instead of fields="DEFAULT" in the example, you'll want raw-fields="language" and raw-fields="category". Assuming you name the fields language and category when you add them to the index.
Jake. -----Original Message----- From: TDLN [mailto:[EMAIL PROTECTED] Sent: Thursday, February 23, 2006 11:48 AM To: [email protected] Subject: Re: meta in search query string You can follow the tutorial at http://wiki.apache.org/nutch/WritingPluginExample. Just replace "recommended" with "category", and it will show you what to do. (I just implemened a "category" filter this way ...) Rgrds, T. On 2/23/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi, > > I have added on my HTML-Pages two meta tags for the language and a > category > (news, articles,...) of the page. > > <meta name="dc.language" content="en" /> > > And an meta tag for an categorie: > > <meta name="dc.category" content="news" /> > > Who can I buildt an search query and get the hits for example: > > Find all where language='en' an category='news' and the content contains > 'nutch8.0' ? > > What is way to get the results? > > By the way I am using v 0.71. > > > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Nutch-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nutch-general
