[ 
https://issues.apache.org/jira/browse/LUCENE-5446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13901533#comment-13901533
 ] 

John Wang commented on LUCENE-5446:
-----------------------------------

Maybe in ExtractWikipedia.extract(), we should call getField instead of get?

> ExtractWikipedia produces "null" strings
> ----------------------------------------
>
>                 Key: LUCENE-5446
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5446
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/benchmark
>    Affects Versions: 4.6.1
>            Reporter: John Wang
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to