Nutch 0.81

I am writing a simple plugin to query words in the title and I am trying to
figure out the difference between "fields" and "raw-fields"...

I have been looking at how the other plugin's were written and see both
being used.  query-site uses "raw-fields" and the others use "fields". 
What's the difference?

 <parameter name="fields" value="title"/>
OR
 <parameter name="raw-fields" value="title"/>

Which one should I use?

Thanks,

Neal



/home/user/site.com/nutch/nutch/src/plugin/query-title/plugin.xml
-----------------------------------------------------------plugin.xml
<?xml version="1.0" encoding="UTF-8"?>

<plugin
   id="query-title"
   name="TITLE Query Filter"
   version="1.0.0"
   provider-name="nutch.org">

   <runtime>
      <library name="query-title.jar">
         <export name="*"/>
      </library>
   </runtime>

   <requires>
      <import plugin="nutch-extensionpoints"/>
   </requires>

   <extension id="org.apache.nutch.searcher.title.TITLEQueryFilter"
              name="Nutch TITLE Query Filter"
              point="org.apache.nutch.searcher.QueryFilter">
      <implementation id="TITLEQueryFilter"
                     
class="org.apache.nutch.searcher.title.TITLEQueryFilter">
        <parameter name="fields or raw-fields" value="title"/>
      </implementation>
      
   </extension>

</plugin>

-- 
View this message in context: 
http://www.nabble.com/Plugins-Question-%28fields-vs.-raw-fields%29-tf3574715.html#a9989119
Sent from the Nutch - User mailing list archive at Nabble.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

Reply via email to