lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Ziech (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LUCENE-5670) org.apache.lucene.util.fst.FST should skip over outputs it is not interested in
Date Mon, 19 May 2014 15:59:38 GMT

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

Christian Ziech updated LUCENE-5670:
------------------------------------

    Attachment: skipOutput_lucene48.patch

Attaching a patch relative to the lucene 4.8 branch.

> org.apache.lucene.util.fst.FST should skip over outputs it is not interested in
> -------------------------------------------------------------------------------
>
>                 Key: LUCENE-5670
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5670
>             Project: Lucene - Core
>          Issue Type: Improvement
>    Affects Versions: 4.7
>            Reporter: Christian Ziech
>            Assignee: Michael McCandless
>            Priority: Minor
>         Attachments: LUCENE-5670.patch, skipOutput_lucene48.patch
>
>
> Currently the FST uses the read(DataInput) method from the Outputs class to skip over
outputs it actually is not interested in. For most use cases this just creates some additional
objects that are immediately destroyed again.
> When traversing an FST with non-trivial data however this can easily add up to several
excess objects that nobody actually ever read.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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


Mime
View raw message