You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Kelvin Tan <ke...@relevanz.com> on 2005/03/04 20:45:38 UTC

Re: [Nutch-general] How to construct NUTCH range query string.

You'll need to write a query plugin so that the field search passes through. Check out out query-basic and query-site for examples. 

use bin/nutch net.nutch.searcher.Query to see how your query really looks like after the Nutch processing.

Kelvin

On Fri, 4 Mar 2005 10:48:38 -0800 (PST), Benny Lin wrote:
>
>�Hi, I am new in Nutch. I need some help on construct range query
>�string.
>
>�During crawing, I added a keyword field called "price" for each
>�document. After I finish indexing. I want to test the ranger query
>�like
>
>�price:[001000 TO 010000]
>
>�But it deson't work when I type it in query box in the search.jsp
>�page.
>
>�I think there is something wrong with the query
>�string.
>
>�Can someone help me out?
>
>�Thanks a lot.
>
>
>�__________________________________________________
>�Do You Yahoo!?
>�Tired of spam? �Yahoo! Mail has the best spam protection around
>�http://mail.yahoo.com
>
>
>�------------------------------------------------------- SF email is
>�sponsored by - The IT Product Guide
>�Read honest &�candid reviews on hundreds of IT Products from real
>�users. Discover which products truly live up to the hype. Start
>�reading now.
>�http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
>�_______________________________________________ Nutch-general
>�mailing list Nutch-general@lists.sourceforge.net
>�https://lists.sourceforge.net/lists/listinfo/nutch-general