You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Sami Siren (JIRA)" <ji...@apache.org> on 2009/12/30 20:09:29 UTC

[jira] Updated: (NUTCH-775) Enhance Searcher interface

     [ https://issues.apache.org/jira/browse/NUTCH-775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sami Siren updated NUTCH-775:
-----------------------------

    Attachment: NUTCH-775.patch

I ended up changing the Query API instead since the changes were smaller from API perspective that way.

> Enhance Searcher interface
> --------------------------
>
>                 Key: NUTCH-775
>                 URL: https://issues.apache.org/jira/browse/NUTCH-775
>             Project: Nutch
>          Issue Type: Improvement
>          Components: searcher
>            Reporter: Sami Siren
>            Assignee: Sami Siren
>             Fix For: 1.1
>
>         Attachments: NUTCH-775.patch
>
>
> Current Searcher interface is too limited for many purposes:
> Hits search(Query query, int numHits, String dedupField, String sortField,
>       boolean reverse) throws IOException;
> It would be nice that we had an interface that allowed adding different features without changing the interface. I am proposing that we deprecate the current search method and introduce something like:
> Hits search(Query query, Metadata context) throws IOException;
> Also at the same time we should enhance the QueryFilter interface to look something like:
> BooleanQuery filter(Query input, BooleanQuery translation, Metadata context)
>     throws QueryException;
> I would like to hear your comments before proceeding with a patch.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


unsubscribe

Posted by Futebol DotInfo <fu...@yahoo.com>.
unsubscribe

--- On Wed, 12/30/09, Sami Siren (JIRA) <ji...@apache.org> wrote:

From: Sami Siren (JIRA) <ji...@apache.org>
Subject: [jira] Updated: (NUTCH-775) Enhance Searcher interface
To: nutch-dev@lucene.apache.org
Date: Wednesday, December 30, 2009, 11:09 AM


     [ https://issues.apache.org/jira/browse/NUTCH-775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sami Siren updated NUTCH-775:
-----------------------------

    Attachment: NUTCH-775.patch

I ended up changing the Query API instead since the changes were smaller from API perspective that way.

> Enhance Searcher interface
> --------------------------
>
>                 Key: NUTCH-775
>                 URL: https://issues.apache.org/jira/browse/NUTCH-775
>             Project: Nutch
>          Issue Type: Improvement
>          Components: searcher
>            Reporter: Sami Siren
>            Assignee: Sami Siren
>             Fix For: 1.1
>
>         Attachments: NUTCH-775.patch
>
>
> Current Searcher interface is too limited for many purposes:
> Hits search(Query query, int numHits, String dedupField, String sortField,
>       boolean reverse) throws IOException;
> It would be nice that we had an interface that allowed adding different features without changing the interface. I am proposing that we deprecate the current search method and introduce something like:
> Hits search(Query query, Metadata context) throws IOException;
> Also at the same time we should enhance the QueryFilter interface to look something like:
> BooleanQuery filter(Query input, BooleanQuery translation, Metadata context)
>     throws QueryException;
> I would like to hear your comments before proceeding with a patch.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.