Thanks to all who replied on my question.

The solution is RangeQuery.

Cheers,

Milan

On 19/06/07, Milan Krendzelak <[EMAIL PROTECTED]> wrote:

This is a second example of the problem.

Let's say I indexed web sites and I have a field category.

How to get result only from category 2 and 3?

Thanks.

Milan

p.s.: in SQL we can do that really simple:
- select * from table where categoryId in ( 2,3);
or
- select * from table where categoryId=2 or categoryId=3;

On 19/06/07, Milan Krendzelak < [EMAIL PROTECTED]> wrote:
>
>
> Hi all,
> I have this scenario:
> lets say that I have meta-data which belong to particular web site and
> it is stored in index.
> This meta-data could have one of these values (0,1,2,3,4,5) and lets say
> it is a rating of the site
> ( popularity ).
>
> Now lets say I would like to get search results according to the
> relevancy but only for whose web sites which has popularity 5 or 4 or 3
> only!
>
> How can I achieve that?
>
> Any ideas?
>
> Thanks.
> Regards,
> Milan
>
> p.s.: new nutch user
>


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Nutch-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-general

Reply via email to