It doesnot work for me.

When I search something, I've got no attribute "type" in the HitDetails.
I should see it, no ?

The plugin is well activated :

20060306        12:39:28,377    DEBUG.[]        plugin: id=query-more name=More 
Query Filter version=1.0.0 provider=nutch.orgclass=null
20060306        12:39:28,377    INFO.[] impl: 
point=org.apache.nutch.searcher.QueryFilter 
class=org.apache.nutch.searcher.more.TypeQueryFilter
20060306        12:39:28,377    INFO.[] impl: 
point=org.apache.nutch.searcher.QueryFilter 
class=org.apache.nutch.searcher.more.DateQueryFilter


The content-type of my site is "text/html; charset=UTF-8"

Have u got any idea ?

Thanks


-----Message d'origine-----
De : Jérôme Charron [mailto:[EMAIL PROTECTED] 
Envoyé : lundi 6 mars 2006 12:36
À : [email protected]
Objet : Re: query-more

> For "type", is it used to do something like that or not ?
> +type:text/html

If you just type a query like "type:text", "type:html" or "type:text/html"
it will return no result.
It is a filter, ie you must associate it to a search term, for instance:
"type:html nutch" if you want to get nutch related document in html format.

With the type query filter, you can both specify the content-type primary
type, sub-type or both.

Regards

Jérôme

--
http://motrech.free.fr/
http://www.frutch.org/


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Nutch-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-general

Reply via email to