Java Mailing List Archive

http://www.java2.5341.com/

Home » nutch-user.lucene »

Re: keyword match

Doğacan Güney

2008-09-24

Replies: Find Java Web Hosting

Author LoginPost Reply
On Wed, Sep 24, 2008 at 4:36 PM, Edward Quick <edwardquick@(protected):
>
> Has anyone written a keyword match for Nutch so when a user enters a certain search string, they are guaranteed to get a specific url at the top of the search results no matter what the boost value of that url is?
>
> Any ideas (or links) to how this is done?
>

You can write a new indexing filter that adds your keywords to a
"keyword" field. Then during search, you also search for those
keywords (with a query filter) in "keyword" field with a huge boost.
If a keyword matches, that document will probably shoot straight up to
the top.

> Thanks,
>
> Ed.
>
> _________________________________________________________________
> Get all your favourite content with the slick new MSN Toolbar - FREE
> http://clk.atdmt.com/UKM/go/111354027/direct/01/



--
Doğacan Güney
©2008 java2.5341.com - Jax Systems, LLC, U.S.A.