lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cam Bazz" <>
Subject html to text based on some sort of uniqueness metric
Date Mon, 09 Jun 2008 19:55:16 GMT

I am indexing newspaper articles as an excercise in solr. When dealing with
newspaper articles in previous experiences I always tried to get the div or
the table that contains the actual news, using nekohtml traversing tru the
dom tree and getting the text from the div or table that contains the
article. When dealing with many newspapers, it is a hassle to custom code to
extract relevant information. There is usually a lot of garbage in the html.
>From categories to ads, and further more they change, so a static coding is

I have been thinking if I could measure the frequency or uniqueness for each
node, and find the news automatically - but I have not come up with an

Has anyone did/contemplated/used something similar? Maybe there is already a
way - using lucene, or even hadoop.

Best Regards,

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message