Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.0.0
-
None
Description
It would be good if the HTMLParser could give us the keywords specified in the meta tags, so that we can index them.
In HTMLParser.jj:
void addMetaTag()
{ metaTags.setProperty(currentMetaTag, currentMetaContent); currentMetaTag = null; currentMetaContent = null; return; }One way to do it:
void addMetaTag() throws IOException {
metaTags.setProperty(currentMetaTag, currentMetaContent);
if (currentMetaTag.equalsIgnoreCase("keywords"))
currentMetaTag = null;
currentMetaContent = null;
return;
}
Attachments
Attachments
Issue Links
- is cloned by
-
LUCENE-1565 CLONE -Add meta keywords to HTMLParser
- Resolved