apache / apache/lucene

ExtractWikipedia produces "null" strings [LUCENE-5446]

Open
#6,509 1 comment 0 reactions 0 assignees View on GitHub
affects-version:4.6.1 legacy-jira-priority:Major module:benchmark type:bug
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

The ExtractWikipedia program produces null strings as output.
This is because Document.get() is only checking against StoredFields, but the extracted fields are set as not stored, e.g. DocMaker.setConfig.
I am not sure what the correct fix should be.

---
Migrated from [LUCENE-5446](https://issues.apache.org/jira/browse/LUCENE-5446) by John Wang

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.