You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Arnaud Goupil <go...@yahoo.fr> on 2007/01/11 08:34:17 UTC
RE : RE: How to index and return files names ?
Thanks Alan (and all which answered),
I will look at this solution.
Arnaud
--- Alan Tanaman <al...@idna-solutions.com> a
écrit :
> Arnaud,
>
> Absolutely. As Nutch comes, the url field is
> searchable (and tokenized).
> You predicate the search to a specific field using a
> colon, for example by
> typing
>
> url:motherboard or url:"unix shell"
>
> The default search field (when no predicate is
> specified) is content.
>
> Generally the Lucene search syntax is supported
> (although I believe there
> are Nutch specific issues):
>
http://lucene.apache.org/java/docs/queryparsersyntax.html
>
> Best regards,
> Alan
> _________________________
> Alan Tanaman
> iDNA Solutions
> Tel: +44 (20) 7257 6125
> Mobile: +44 (7796) 932 362
> http://blog.idna-solutions.com
>
> -----Original Message-----
> From: Arnaud Goupil [mailto:goupildev@yahoo.fr]
> Sent: 10 January 2007 10:04
> To: nutch-user@lucene.apache.org
> Subject: How to index and return files names ?
>
> Hi,
>
> I would like Nutch to return results when search
> terms
> are found in the name of files known by the index.
>
> For example, my http location indexed by nutch
> contains various files, named :
>
>
> computer security.pdf
> unix shell.pdf
> motherboard specifications.pdf
>
>
> If I search "motherboard", I want Nutch to return a
> result pointing to my third document, even if this
> document does not contain the word "motherboard",
> only
> because it's in the name of the file.
>
> Is there a way to do this ?
>
> Thanks
>
> __________________________________________________
> Do You Yahoo!?
> En finir avec le spam? Yahoo! Mail vous offre la
> meilleure protection
> possible contre les messages non sollicités
> http://mail.yahoo.fr Yahoo! Mail
>
>
___________________________________________________________________________
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses
http://fr.answers.yahoo.com