You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Francisco Guillén <fr...@ximetrix.com> on 2008/03/11 09:29:23 UTC
searching exactly
Hi! I'm from Spain, and I'm learning how to use nutch, I'm working with
0.8.1 nutch version and when I search something with "" (example: "red
car"), in many times nutch doesn't find any references that exits in the
crawl.
¿Is it a bug?¿0.9 nutch version is better?¿Is it a filter?
thanks for you help.
Best regards.
--
<<< Francisco Guillén Díaz francisco.guillen@ximetrix.com
<<< XimetriX network thoughts www.ximetrix.com
<<< Departamento de proyectos
<<< tlf: +34 91 521 99 99
<<< fax: +34 91 521 99 74
--------------------------------------------------------
Re: searching exactly
Posted by Thorsten Scherler <th...@juntadeandalucia.es>.
On Tue, 2008-03-11 at 10:10 +0100, Francisco Guillén wrote:
> Hi Thorsten, thanks for your quick response.
>
> I know that is a exact term, but my problem is that for example I have
> "El carbón producido en 2008" and I search "carbón producido" and nutch
> doesn't returns any match.
> At first I thought codification was wrong, but that's not the problem
> because if I search "carbón 2008" nutch returns matches which includes
> an exact term.
> another idea?
Hmm, I am actually more familiar with solr then nutch and my second
guess would have be <filter class="solr.ISOLatin1AccentFilterFactory"/>,
but that does not compute what you just wrote.
I think it will have something to do with some filter you are using
(like yourself thought from the beginning). Do you use the
Snowball-analyzer? If so the problem you see is consequence of the
snowball.
My colleague just said that you should make sure to use a good stopword
filter and the spanish standard analyzer.
Sorry for not being a bigger help.
salu2 del sur
--
Thorsten Scherler thorsten.at.apache.org
Open Source Java consulting, training and solutions
Re: searching exactly
Posted by Francisco Guillén <fr...@ximetrix.com>.
Hi Thorsten, thanks for your quick response.
I know that is a exact term, but my problem is that for example I have
"El carbón producido en 2008" and I search "carbón producido" and nutch
doesn't returns any match.
At first I thought codification was wrong, but that's not the problem
because if I search "carbón 2008" nutch returns matches which includes
an exact term.
another idea?
thanks y salu2 :)
Re: searching exactly
Posted by Thorsten Scherler <th...@juntadeandalucia.es>.
On Tue, 2008-03-11 at 09:29 +0100, Francisco Guillén wrote:
> Hi! I'm from Spain, and I'm learning how to use nutch, I'm working with
> 0.8.1 nutch version and when I search something with "" (example: "red
> car"), in many times nutch doesn't find any references that exits in the
> crawl.
> ¿Is it a bug?¿0.9 nutch version is better?¿Is it a filter?
>
Hola Fran,
have a look at http://lucene.apache.org/java/docs/queryparsersyntax.html
Using "" means you will want this EXACT term, meaning if you do not have
a "Everyday I take my red car to work" but "I painted my car red" nutch
will return no match.
salu2
> thanks for you help.
>
> Best regards.
>
--
Thorsten Scherler thorsten.at.apache.org
Open Source Java consulting, training and solutions