lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erick Erickson (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (LUCENE-1964) InstantiatedIndex : TermFreqVector is missing
Date Sat, 30 Nov 2013 12:40:38 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-1964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Erick Erickson resolved LUCENE-1964.
------------------------------------

    Resolution: Won't Fix

2013 Old JIRA cleanup

> InstantiatedIndex : TermFreqVector is missing
> ---------------------------------------------
>
>                 Key: LUCENE-1964
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1964
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/other
>    Affects Versions: 2.9
>         Environment: java 1.6
>            Reporter: David Causse
>         Attachments: iiw-regression-fix.patch, term-vector-fix.patch
>
>
> TermFrecVector is missing when index is created via constructor.
> The constructor expect that fields with TermVector are retreived with the getFields call,
but this call returns only stored field, but such fields are never/rarely stored.
> I've attached a patch to fix this issue.
> I had to add a int freq field to InstantiatedTermDocumentInformation because we are not
sure we can use the size of termPositions array as freq information, this information may
not be available with TermVector.YES.
> Don't know if did well but works with unit test attached.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message