[ 
https://issues.apache.org/jira/browse/NUTCH-563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12651325#action_12651325
 ] 

Davide commented on NUTCH-563:
------------------------------

Hi Jasper,

I've found the file BasicQueryFilter.java in Nutch-0.8.1, and after comparing 
it with the one in Nutch-0.9, I didn't find any difference. So I think I can 
apply the patch also on the Nutch-0.8.1 . 
I must put the additional field name in

"phrase"

if (fieldName.equals("phrase")) continue;

am I right?

Do you think I can insert there a generic name like "wildcard" and after put 
inside this the wildcard expression, like *, ? ecc?
I know Lucene can use wildcards, but Nutch not.

Thanks a lot!

Davide

> Include custom fields in BasicQueryFilter
> -----------------------------------------
>
>                 Key: NUTCH-563
>                 URL: https://issues.apache.org/jira/browse/NUTCH-563
>             Project: Nutch
>          Issue Type: New Feature
>          Components: searcher
>            Reporter: julien nioche
>            Priority: Minor
>             Fix For: 0.9.0
>
>         Attachments: diff.BasicQueryFilter.dynamicFields.txt
>
>
> This patch allows to include additional fields in the BasicQueryFilter by 
> specifying runtime parameters.  Any parameter matching the regular expression 
> (query\\.basic\\.(.+)\\.boost") will be added to the list of fields to be 
> used by the BQF and the specified float value will be used as boost.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to