Hi Kevein,
You are right. It works now. Thanks a lot.
Benny
--- Kelvin Tan <[EMAIL PROTECTED]> wrote:
> Hi Benny, I know this is a silly question, but did
> you also deploy your plugin to tomcat? The Nutch
> webapp (unfortunately) has its own set of config
> files and plugins from NUTCH_HOME.
>
> k
>
> On Mon, 7 Mar 2005 17:56:28 -0800 (PST), Benny Lin
> wrote:
> > Hi Kelvin and Matthias,
> >
> > Thanks a lot for your direction. I made
> QueryFilter
> > and IndexFilter for price field. Here is feedback
> from running
> > bin/nutch net.nutch.searcher.Query
> >
> > Parsed: price:"f0000000000t1000000000"
> > Translated: +price:[0000000000 TO 1000000000]
> >
> > It looks like it is translated into range query.
> >
> > However, when I type this query into search box in
> > Tomcat, it doesn't work. I wonder if I need turn
> on
> > something in JSP pages or I may use wrong index
> type in the index
> > filter.
> >
> > Here is a sentence I used in the indexFilter class
> >
> > doc.add(Field.UnStored("price",PriceString));
> >
> > Is that wrong type I used? I also tried
> > "Field.Keyword", it doesn't work either.
> >
> > The following are prices I indexed
> >
> > 0000069900
> > 0005450000
> > 0000099900
> > 0000839000
> > 0000969000
> > 0000087400
> > 0001249500
> > 0000019000
> > 0001200000
> > 0000019900
> > 0000000000
> > 0000089900
> > 0000574900
> > 0000000000
> > 0000099900
> > 0000399900
> > 0000050000
> > 0000089900
> > 0000025000
> > 0000074900
> > 0000019900
> > 0000079400
> > 0000049900
> > 0000099900
> > 0000027000
> >
> > it is supposed to return something, but it
> deosn't.
> >
> > Could you please help out?
> >
> > Thanks in advance.
> >
> > Benny
> >
> >
> > --- Kelvin Tan <[EMAIL PROTECTED]> wrote:
> >> 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 [email protected]
> >>>
> >
https://lists.sourceforge.net/lists/listinfo/nutch-general
> >
> >
> > __________________________________
> > Celebrate Yahoo!'s 10th Birthday!
> > Yahoo! Netrospective: 100 Moments of the Web
> > http://birthday.yahoo.com/netrospective/
> >
> >
> >
-------------------------------------------------------
> 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
>
>
>
__________________________________________________
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