[jira] Commented: (NUTCH-563) Include custom fields in BasicQueryFilter

2008-12-11 Thread Beaucarnea (JIRA)

[ 
https://issues.apache.org/jira/browse/NUTCH-563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12655679#action_12655679
 ] 

Beaucarnea commented on NUTCH-563:
--

I applied the patch on my dev-1.0 version, but had to change one line in method 
findAdditionalFields(Configuration conf):
Iterator confEntriesIterator = conf.entries();  
changed to   
Iterator confEntriesIterator = conf.iterator();

Then, it worked great for me.
Thanks!
Martina


 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: 1.0.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.



Re: Boolean query

2008-12-11 Thread Yadu

It is possible by reforming queries in BasicQueryFilter. I did it for my
proj.

Try following at
http://mlb.mlb.com/search/index.jsp?query=derek%2520-jeterstart=0hitsPerPage=10hitsPerSite=0site=mlbteamCode=mlb
 

parenthesis are not supported. 

AND = + e.g. derek+jeter
OR = whitespace e.g. derek jeter
NOT = - e.g. derek -jeter
phrasal search = search string in double quotes e.g. derek jeter

-Yadu


Andrew York wrote:
 
 Hi there list! I wonder if it's possible to create a boolean query using
 the
 Nutch API. For instance, i would like to create a query like this:
 
 (site:site1.domaing OR site:site2.domain.org) AND (football)
 
 Is it possible to do something like that? I spent some time searching the
 source code but I didn't find anything.
 
 Regards
 Yoanis.
 
 

-- 
View this message in context: 
http://www.nabble.com/Boolean-query-tp18032998p20964998.html
Sent from the Nutch - Dev mailing list archive at Nabble.com.



Build failed in Hudson: Nutch-trunk #658

2008-12-11 Thread Apache Hudson Server
See http://hudson.zones.apache.org/hudson/job/Nutch-trunk/658/changes

--
[...truncated 2223 lines...]
A src/plugin/protocol-http/src/test/org/apache/nutch
A src/plugin/protocol-http/src/test/org/apache/nutch/protocol
A src/plugin/protocol-http/src/test/org/apache/nutch/protocol/http
A src/plugin/protocol-http/src/java
A src/plugin/protocol-http/src/java/org
A src/plugin/protocol-http/src/java/org/apache
A src/plugin/protocol-http/src/java/org/apache/nutch
A src/plugin/protocol-http/src/java/org/apache/nutch/protocol
A src/plugin/protocol-http/src/java/org/apache/nutch/protocol/http
AU
src/plugin/protocol-http/src/java/org/apache/nutch/protocol/http/Http.java
A 
src/plugin/protocol-http/src/java/org/apache/nutch/protocol/http/HttpResponse.java
A 
src/plugin/protocol-http/src/java/org/apache/nutch/protocol/http/package.html
AUsrc/plugin/protocol-http/plugin.xml
AUsrc/plugin/protocol-http/build.xml
A bin
AUbin/nutch
A docs
A docs/ms
A docs/ms/search.html
A docs/ms/help.html
A docs/ms/about.html
A docs/zh
A docs/zh/search.html
A docs/zh/help.html
A docs/zh/about.html
A docs/ca
A docs/ca/search.html
A docs/ca/help.html
A docs/ca/about.html
A docs/pt
A docs/pt/search.html
A docs/pt/help.html
A docs/pt/about.html
A docs/sr
AUdocs/sr/search.html
AUdocs/sr/help.html
AUdocs/sr/about.html
A docs/sv
A docs/sv/search.html
A docs/sv/help.html
A docs/sv/about.html
A docs/de
A docs/de/search.html
A docs/de/help.html
A docs/de/about.html
A docs/fi
A docs/fi/search.html
A docs/fi/help.html
A docs/fi/about.html
A docs/en
A docs/en/search.html
A docs/en/help.html
A docs/en/about.html
A docs/es
A docs/es/search.html
A docs/es/help.html
A docs/es/about.html
A docs/fr
A docs/fr/search.html
AUdocs/fr/help.html
A docs/fr/about.html
A docs/jp
A docs/jp/search.html
A docs/jp/help.html
A docs/jp/about.html
A docs/nl
A docs/nl/search.html
A docs/nl/help.html
A docs/nl/about.html
A docs/sh
AUdocs/sh/search.html
AUdocs/sh/help.html
AUdocs/sh/about.html
A docs/th
A docs/th/search.html
A docs/th/help.html
A docs/th/about.html
A docs/pl
A docs/pl/search.html
A docs/pl/help.html
A docs/pl/about.html
A docs/it
AUdocs/it/search.html
AUdocs/it/help.html
AUdocs/it/about.html
A docs/img
A docs/img/lang
AUdocs/img/lang/romanian.png
AUdocs/img/lang/bulgarian.png
AUdocs/img/lang/spanish.png
AUdocs/img/lang/danish.png
AUdocs/img/lang/dutch.png
AUdocs/img/lang/icelandic.png
AUdocs/img/lang/hungarian.png
AUdocs/img/lang/russian.png
AUdocs/img/lang/japanese.png
AUdocs/img/lang/turkish.png
AUdocs/img/lang/suomi.png
AUdocs/img/lang/lithuanian.png
AUdocs/img/lang/czech.png
AUdocs/img/lang/greek.png
AUdocs/img/lang/galego.png
AUdocs/img/lang/polish.png
AUdocs/img/lang/latvian.png
AUdocs/img/lang/croatian.png
AUdocs/img/lang/portuguese.png
AUdocs/img/lang/french.png
AUdocs/img/lang/swedish.png
AUdocs/img/lang/german.png
AUdocs/img/lang/chinese.png
AUdocs/img/lang/malaysian.png
AUdocs/img/lang/korean.png
AUdocs/img/lang/arabic.png
AUdocs/img/lang/italian.png
AUdocs/img/lang/brazil.png
AUdocs/img/lang/catala.png
AUdocs/img/lang/thai.png
AUdocs/img/lang/indonesian.png
AUdocs/img/lang/norwegian.png
AUdocs/img/lang/english.png
AUdocs/img/poweredbynutch_01.gif
AUdocs/img/poweredbynutch_02.gif
A docs/img/reiter
AUdocs/img/reiter/reiter_inactive_le.gif
AUdocs/img/reiter/_spacer_cc.gif
AUdocs/img/reiter/reiter_inactive_le1.gif
AUdocs/img/reiter/bg_subnavi.gif
AUdocs/img/reiter/002bg_fle.gif
AUdocs/img/reiter/spacer_66.gif
AUdocs/img/reiter/ul.gif
AUdocs/img/reiter/_bg_reiter.gif
AUdocs/img/reiter/logo_nutch.gif
AUdocs/img/reiter/_bg_reiter_inactive.gif
AUdocs/img/reiter/002bg_fre.gif
AUdocs/img/reiter/reiter_inactive_ri.gif
AUdocs/img/reiter/robots.gif
AUdocs/img/reiter/spacer_ff9900.gif
AUdocs/img/favicon.ico
A docs/hu
A docs/hu/search.html
A docs/hu/help.html
A docs/hu/about.html
A index.html