To be honest I've been wondering that myself, but haven't tested
it. It seems like you could just add more lines to the plugin.xml file
so that the same code gets used as both fields="DEFAULT" and
fields="[fieldname]".  

        It's also possible that you could set fields to a coma separated
list.  I haven't dug into the code enough to know if that would work.
If you figure it out, let me know. :)

Thanks,
Jake.

-----Original Message-----
From: Scott Owens [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 08, 2006 10:59 AM
To: [email protected]
Subject: Re: [Nutch-general] RE: boosting custom field values in scoring
algorithm

That's perfect Jake.  Thanks!  Should have caught that.

Quick (maybe stupid) question.  Will I still be able to run a query
for field:value  once i set fields="DEFAULT" ?

Or do I need to create a seperate plugin for that - basically exactly
what i had before with fields="fieldname" in the plugin.xml?

Thanks a ton.
Scott



On 2/8/06, Vanderdray, Jacob <[EMAIL PROTECTED]> wrote:
> Scott,
>
>         You probably just need to edit your plugin.xml file to set
> fields="DEFAULT".  Take a look at
> http://wiki.apache.org/nutch/WritingPluginExample and see if that
helps.
>
> Jake.
>
> -----Original Message-----
> From: Scott Owens [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, February 08, 2006 10:08 AM
> To: [email protected]
> Subject: boosting custom field values in scoring algorithm
>
> Has anyone been able to include a custom lucene field in the primary
> ranking algo?  I have successfully set up a query plugin to search
> field:value - but can't see how to include (hopefully boost) the value
> in the main query.
>
> I saw where Title and Host were added last April:
>
http://mail-archives.apache.org/mod_mbox/lucene-nutch-dev/200504.mbox/%3
> [EMAIL PROTECTED]
>
> However, I can't seem to figure out how to add a custom field.  Is it
> possible?  Any help would be great!
>
> Thanks.
> Scott
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD
SPLUNK!
> http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642
> _______________________________________________
> Nutch-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/nutch-general
>


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Nutch-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-general

Reply via email to