[
https://issues.apache.org/jira/browse/LUCENE-5105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adrien Grand closed LUCENE-5105.
--------------------------------
Resolution: Invalid
IndexOptions only apply to the inverted index. For term vectors, please use the
FieldType.setStoreTermVectors* methods.
> IndexOptions.DOCS_AND_FREQS_AND_POSITIONS_AND_OFFSETS has no effect
> -------------------------------------------------------------------
>
> Key: LUCENE-5105
> URL: https://issues.apache.org/jira/browse/LUCENE-5105
> Project: Lucene - Core
> Issue Type: Bug
> Environment: In lucene 4.2
> Reporter: milesli
>
> In lucene 4.2
> it is not effective to set indexOptions to
> DOCS_AND_FREQS_AND_POSITIONS_AND_OFFSETS,
> positions and offsets are also not stored with termvector.
> I have to set StoreTermVectorOffsets to true and set
> StoreTermVectorPositions to true that is effective .
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]