Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Duplicate
-
2.0.0
-
None
-
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
Issue Links
- is a clone of
-
LUCENE-591 Add meta keywords to HTMLParser
- Closed