Hi Doug,
Thanks, that worked.
Cheers,
Chris
On 10/17/05 11:56 AM, "Doug Cutting" <[EMAIL PROTECTED]> wrote:
> Chris Mattmann wrote:
>> So, my question to you then
>> is, what type of QueryFilter should I develop in order to get my query for
>> contactemail:<email address> to work as a standalone query? For instance,
>> right now I'm sub-classing the RawFieldQueryFilter, which doesn't seem to be
>> the right way to do it now. Is there a class in Nutch that I can sub-class
>> to get most of the functionality for doing a type:<value> query as a
>> standalone query?
>
> You can simply pass a non-zero boost to the RawFieldQueryFilter
> constructor, e.g.:
>
> public class MyQueryFilter extends RawFieldQueryFilter {
> public MyQueryFilter() {
> super("myfield", 1.0f);
> }
> }
>
> Or you can implement QueryFilter directly. There's not that much to it.
>
> Doug
______________________________________________
Chris A. Mattmann
[EMAIL PROTECTED]
Staff Member
Modeling and Data Management Systems Section (387)
Data Management Systems and Technologies Group
_________________________________________________
Jet Propulsion Laboratory Pasadena, CA
Office: 171-266B Mailstop: 171-246
_______________________________________________________
Disclaimer: The opinions presented within are my own and do not reflect
those of either NASA, JPL, or the California Institute of Technology.