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
[EMAIL PROTECTED] 
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:[EMAIL PROTECTED] 
Gesendet: Mittwoch, 28. Juli 2004 21:05
An: [EMAIL PROTECTED]
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
[EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to