lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karsten Konrad" <Karsten.Kon...@xtramind.com>
Subject AW: Page ranking and the keyword meta tag
Date Thu, 29 Jul 2004 07:32:21 GMT

Hi,

>>
it gives higher ranking to html pages that contain the searched query inside the keyword meta
tag, but Lucene seems to ignore everything html when searching. Anybody has any idea how to
do this?
>>

put the content of the meta tags into a separate field and search both over
content and meta tag field. Lucene will rank the meta tag content higher as
it will be shorter than the complete text. Works quite well.

You will have to parse the HTML to get your meta tags and
construct a query that searches both over the content and meta data
simultaneously.

Regards,

Karsten

--

Dr.-Ing. Karsten Konrad
Head of Artificial Intelligence Lab

Xtramind Technologies GmbH 
Stuhlsatzenhausweg 3 
D-66123 Saarbr├╝cken

Phone +49 (681) 3 02-51 13 
Fax +49 (681) 3 02-51 09
karsten.konrad@xtramind.com 
www.xtramind.com

>Besuchen Sie uns !
>DMS |  Halle 2 Stand 2705 |  07.- 09. September 2004 |  Messe Essen |  www.dmsexpo.de
>
>
 

-----Urspr├╝ngliche Nachricht-----
Von: Monique Platzer [mailto:mplatzer@evertecinc.com] 
Gesendet: Mittwoch, 28. Juli 2004 21:05
An: lucene-dev@jakarta.apache.org
Betreff: FW: Page ranking and the keyword meta tag




Hi! I'm interested in customizing Lucene so that it gives higher ranking to html pages that
contain the searched query inside the keyword meta tag, but Lucene seems to ignore everything
html when searching. Anybody has any idea how to do this?

Thanks!

Monique Platzer
mplatzer@evertecinc.com

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Mime
View raw message