Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Lucene Indexer

Status
Not open for further replies.

bundyld

Programmer
Oct 2, 2001
43
US
Hello all,

I am not sure if this is the appropriate place for this post or not, however, I did a keyword search on lucene and this seems to be the place that questions are being asked.

I am creating a lucene indexer java project to index a couple of my websites. I have the search working, however I would like to display the <title></title> element of the html page as the links text on the search results page. I know how to create the field to pull for display but am having some problems figuring out how to get the string value of the html pages <title></title> element when creating the index.

Any help would be greatly appriciated!

Cheers,
Lance
 
There is an example of how to do it in the demo app class called "HTMLDocument.java".

--------------------------------------------------
Free Database Connection Pooling Software
 
Sedj,

Thank you very much. This is exaclty what I was looking for!

Lance
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top