The query syntax you are using works in Lucene, but does not work in
Nutch, because Nutch uses a query parser that is different from the one
that comes with Lucene.  I don't think Nutch currently supports range
queries.

Otis


--- Benny Lin <[EMAIL PROTECTED]> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/nutch-general
> 



-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-general

Reply via email to