Adding on to the previous mail... I guess the issue is because I am trying to make a derived class which essentially does the same things as the base class. If I had to override the filter method, then probably I should not/need not derive from RawFieldQueryFilter since both the classes does pretty much the same. Can I use a queryfilter by specifying it in the plugin.xml with the raw-fields parameter defined, even if it does not derive from RawFieldQueryFilter ?
Thanks, Praveen. Doug Cutting <[EMAIL PROTECTED]> said: > In CVS both the boost and the field are specifiable in the constructor: > > http://cvs.sourceforge.net/viewcvs.py/nutch/nutch/src/java/net/nutch/searcher/ RawFieldQueryFilter.java?view=markup > > Is is not enough to specify these when you construct the filter? > > Also, note that there is now also FieldQueryFilter, which is appropriate > for fields that are tokenized: > > http://cvs.sourceforge.net/viewcvs.py/nutch/nutch/src/java/net/nutch/searcher/ FieldQueryFilter.java?rev=1.1&view=auto > > Doug > > Pathiyil, Praveen wrote: > > Hi, > > > > I am using a custom index filter to add metadata like date to the index of > > the documents. Now I want to create a QueryFilter for this field. From > > previous discussions in this list (and looking at query-site), I assumed that > > the best way would be to extend the RawFieldQueryFilter. However when I tried > > to override the filter method in the base class, i am facing problems because > > field and boost are private in RawFieldQueryFilter. What will be the best > > solution to this issue ? > > > > TIA, > > Praveen. > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 > > Project Admins to receive an Apple iPod Mini FREE for your judgement on > > who ports your project to Linux PPC the best. Sponsored by IBM. > > Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php > > _______________________________________________ > > Nutch-developers mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/nutch-developers > > > ------------------------------------------------------- > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 > Project Admins to receive an Apple iPod Mini FREE for your judgement on > who ports your project to Linux PPC the best. Sponsored by IBM. > Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php > _______________________________________________ > Nutch-developers mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/nutch-developers > -- ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ Nutch-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nutch-developers
