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
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